Skip to content

Commit 43f4e12

Browse files
ShahanaFarooquiendothermicdev
authored andcommitted
docs: Type change for request amount too
For multifund and openchannel_init schemas, request_amt type is also `sat`.
1 parent 0eb65e4 commit 43f4e12

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

cln-grpc/src/convert.rs

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contrib/msggen/msggen/schema.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10086,7 +10086,7 @@
1008610086
]
1008710087
},
1008810088
"request_amt": {
10089-
"type": "msat",
10089+
"type": "sat",
1009010090
"description": [
1009110091
"An amount of liquidity you'd like to lease from the peer. If peer supports `option_will_fund`, indicates to them to include this much liquidity into the channel. Must also pass in *compact_lease*."
1009210092
]
@@ -22296,7 +22296,7 @@
2229622296
]
2229722297
},
2229822298
"request_amt": {
22299-
"type": "msat",
22299+
"type": "sat",
2230022300
"description": [
2230122301
"Amount of liquidity you'd like to lease from peer. If peer supports `option_will_fund`, indicates to them to include this much liquidity into the channel. Must also pass in *compact_lease*."
2230222302
]
@@ -23583,7 +23583,7 @@
2358323583
]
2358423584
},
2358523585
"request_amt": {
23586-
"type": "msat",
23586+
"type": "sat",
2358723587
"description": [
2358823588
"An amount of liquidity you'd like to lease from the peer. If peer supports `option_will_fund`, indicates to them to include this much liquidity into the channel. Must also pass in *compact_lease*."
2358923589
]

doc/schemas/lightning-fundchannel.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
]
6666
},
6767
"request_amt": {
68-
"type": "msat",
68+
"type": "sat",
6969
"description": [
7070
"An amount of liquidity you'd like to lease from the peer. If peer supports `option_will_fund`, indicates to them to include this much liquidity into the channel. Must also pass in *compact_lease*."
7171
]

doc/schemas/lightning-multifundchannel.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
]
6262
},
6363
"request_amt": {
64-
"type": "msat",
64+
"type": "sat",
6565
"description": [
6666
"Amount of liquidity you'd like to lease from peer. If peer supports `option_will_fund`, indicates to them to include this much liquidity into the channel. Must also pass in *compact_lease*."
6767
]

doc/schemas/lightning-openchannel_init.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
]
5959
},
6060
"request_amt": {
61-
"type": "msat",
61+
"type": "sat",
6262
"description": [
6363
"An amount of liquidity you'd like to lease from the peer. If peer supports `option_will_fund`, indicates to them to include this much liquidity into the channel. Must also pass in *compact_lease*."
6464
]

0 commit comments

Comments
 (0)