Skip to content

Commit 4ac85b2

Browse files
Lagrang3ShahanaFarooqui
authored andcommitted
askrene: inform-channel fixes argument order
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]>
1 parent 3f32f9e commit 4ac85b2

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

contrib/msggen/msggen/schema.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -446,16 +446,16 @@
446446
"The direction to apply this change to."
447447
]
448448
},
449-
"maximum_msat": {
449+
"minimum_msat": {
450450
"type": "msat",
451451
"description": [
452-
"The maximum value which this channel could pass. This or *minimum_msat* must be specified, but not both."
452+
"The minumum value which this channel could pass. This or *minimum_msat* must be specified, but not both."
453453
]
454454
},
455-
"minimum_msat": {
455+
"maximum_msat": {
456456
"type": "msat",
457457
"description": [
458-
"The minumum value which this channel could pass. This or *minimum_msat* must be specified, but not both."
458+
"The maximum value which this channel could pass. This or *minimum_msat* must be specified, but not both."
459459
]
460460
}
461461
}

doc/schemas/lightning-askrene-inform-channel.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,16 @@
3434
"The direction to apply this change to."
3535
]
3636
},
37-
"maximum_msat": {
37+
"minimum_msat": {
3838
"type": "msat",
3939
"description": [
40-
"The maximum value which this channel could pass. This or *minimum_msat* must be specified, but not both."
40+
"The minumum value which this channel could pass. This or *minimum_msat* must be specified, but not both."
4141
]
4242
},
43-
"minimum_msat": {
43+
"maximum_msat": {
4444
"type": "msat",
4545
"description": [
46-
"The minumum value which this channel could pass. This or *minimum_msat* must be specified, but not both."
46+
"The maximum value which this channel could pass. This or *minimum_msat* must be specified, but not both."
4747
]
4848
}
4949
}

0 commit comments

Comments
 (0)