Skip to content

Commit 0aea211

Browse files
committed
fixup! doc: be explicit (with tests!) on when we don't know amount_msat for listsendpays.
1 parent 521220c commit 0aea211

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

contrib/msggen/msggen/schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21942,7 +21942,7 @@
2194221942
"amount_msat": {
2194321943
"type": "msat",
2194421944
"description": [
21945-
"The amount of millisatoshi we intended to send to the destination. This can only be missing in the case of someone manually calling sendonion without the `amount_msat` parameter (which no plugin currently does)."
21945+
"The amount of millisatoshi we intended to send to the destination. This can only be missing in the case of someone manually calling sendonion without the `amount_msat` parameter (which no plugin currently does)."
2194621946
]
2194721947
},
2194821948
"amount_sent_msat": {
@@ -24449,7 +24449,7 @@
2444924449
"amount_msat": {
2445024450
"type": "msat",
2445124451
"description": [
24452-
"The amount delivered to destination (if known). This is not known in the case where sendonion(7) was used to manually initiate a payment without the `amount_msat` parameter."
24452+
"The amount delivered to destination (if known). This is not known in the case where sendonion(7) was used to manually initiate a payment without the `amount_msat` parameter."
2445324453
]
2445424454
},
2445524455
"destination": {

doc/schemas/listpays.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@
192192
"amount_msat": {
193193
"type": "msat",
194194
"description": [
195-
"The amount of millisatoshi we intended to send to the destination. This can only be missing in the case of someone manually calling sendonion without the `amount_msat` parameter (which no plugin currently does)."
195+
"The amount of millisatoshi we intended to send to the destination. This can only be missing in the case of someone manually calling sendonion without the `amount_msat` parameter (which no plugin currently does)."
196196
]
197197
},
198198
"amount_sent_msat": {

doc/schemas/listsendpays.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144
"amount_msat": {
145145
"type": "msat",
146146
"description": [
147-
"The amount delivered to destination (if known). This is not known in the case where sendonion(7) was used to manually initiate a payment without the `amount_msat` parameter."
147+
"The amount delivered to destination (if known). This is not known in the case where sendonion(7) was used to manually initiate a payment without the `amount_msat` parameter."
148148
]
149149
},
150150
"destination": {

0 commit comments

Comments
 (0)