Skip to content

Commit

Permalink
askrene: inform-channel fixes argument order
Browse files Browse the repository at this point in the history
The documentation and the implementation of inform-channel have
different orders for the arguments minimum_msat and maximum_msat.
We change the order in the documentation to match that of the
implementation: minimum_msat comes before maximum_msat.

Signed-off-by: Lagrang3 <[email protected]>
  • Loading branch information
Lagrang3 authored and ShahanaFarooqui committed Aug 12, 2024
1 parent 3f32f9e commit 4ac85b2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions contrib/msggen/msggen/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -446,16 +446,16 @@
"The direction to apply this change to."
]
},
"maximum_msat": {
"minimum_msat": {
"type": "msat",
"description": [
"The maximum value which this channel could pass. This or *minimum_msat* must be specified, but not both."
"The minumum value which this channel could pass. This or *minimum_msat* must be specified, but not both."
]
},
"minimum_msat": {
"maximum_msat": {
"type": "msat",
"description": [
"The minumum value which this channel could pass. This or *minimum_msat* must be specified, but not both."
"The maximum value which this channel could pass. This or *minimum_msat* must be specified, but not both."
]
}
}
Expand Down
8 changes: 4 additions & 4 deletions doc/schemas/lightning-askrene-inform-channel.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@
"The direction to apply this change to."
]
},
"maximum_msat": {
"minimum_msat": {
"type": "msat",
"description": [
"The maximum value which this channel could pass. This or *minimum_msat* must be specified, but not both."
"The minumum value which this channel could pass. This or *minimum_msat* must be specified, but not both."
]
},
"minimum_msat": {
"maximum_msat": {
"type": "msat",
"description": [
"The minumum value which this channel could pass. This or *minimum_msat* must be specified, but not both."
"The maximum value which this channel could pass. This or *minimum_msat* must be specified, but not both."
]
}
}
Expand Down

0 comments on commit 4ac85b2

Please sign in to comment.