mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
use msat_or_all for fundpsbt request amount
This commit is contained in:
committed by
Christian Decker
parent
d4ef20d54a
commit
836a2aa261
2
cln-grpc/proto/node.proto
generated
2
cln-grpc/proto/node.proto
generated
@@ -988,7 +988,7 @@ message KeysendExtratlvs {
|
||||
}
|
||||
|
||||
message FundpsbtRequest {
|
||||
Amount satoshi = 1;
|
||||
AmountOrAll satoshi = 1;
|
||||
Feerate feerate = 2;
|
||||
uint32 startweight = 3;
|
||||
optional uint32 minconf = 4;
|
||||
|
||||
2
cln-grpc/src/convert.rs
generated
2
cln-grpc/src/convert.rs
generated
@@ -1355,7 +1355,7 @@ impl From<pb::KeysendRequest> for requests::KeysendRequest {
|
||||
impl From<pb::FundpsbtRequest> for requests::FundpsbtRequest {
|
||||
fn from(c: pb::FundpsbtRequest) -> Self {
|
||||
Self {
|
||||
satoshi: c.satoshi.unwrap().into(), // Rule #1 for type msat
|
||||
satoshi: c.satoshi.unwrap().into(), // Rule #1 for type msat_or_all
|
||||
feerate: c.feerate.unwrap().into(), // Rule #1 for type feerate
|
||||
startweight: c.startweight, // Rule #1 for type u32
|
||||
minconf: c.minconf, // Rule #1 for type u32?
|
||||
|
||||
Reference in New Issue
Block a user