mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-07 08:04:23 +01:00
cln-grpc: update listpeers json fixing tests
This commit is contained in:
committed by
Vincenzo Palazzo
parent
f1373fd98c
commit
6b977f0292
@@ -190,7 +190,9 @@ mod test {
|
||||
"funding": {
|
||||
"local_msat": "0msat",
|
||||
"remote_msat": "1000000000msat",
|
||||
"pushed_msat": "0msat"
|
||||
"pushed_msat": "0msat",
|
||||
"local_funds_msat": "0msat",
|
||||
"remote_funds_msat": "0msat"
|
||||
},
|
||||
"msatoshi_to_us": 0,
|
||||
"to_us_msat": "0msat",
|
||||
@@ -289,7 +291,9 @@ mod test {
|
||||
"funding": {
|
||||
"local_msat": "1000000000msat",
|
||||
"remote_msat": "0msat",
|
||||
"pushed_msat": "0msat"
|
||||
"pushed_msat": "0msat",
|
||||
"local_funds_msat": "0msat",
|
||||
"remote_funds_msat": "0msat"
|
||||
},
|
||||
"msatoshi_to_us": 1000000000,
|
||||
"to_us_msat": "1000000000msat",
|
||||
|
||||
@@ -38,7 +38,9 @@ fn test_listpeers() {
|
||||
"funding": {
|
||||
"local_msat": "0msat",
|
||||
"remote_msat": "1000000000msat",
|
||||
"pushed_msat": "0msat"
|
||||
"pushed_msat": "0msat",
|
||||
"local_funds_msat": "0msat",
|
||||
"remote_funds_msat": "0msat"
|
||||
},
|
||||
"msatoshi_to_us": 0,
|
||||
"to_us_msat": "0msat",
|
||||
@@ -137,7 +139,9 @@ fn test_listpeers() {
|
||||
"funding": {
|
||||
"local_msat": "1000000000msat",
|
||||
"remote_msat": "0msat",
|
||||
"pushed_msat": "0msat"
|
||||
"pushed_msat": "0msat",
|
||||
"local_funds_msat": "0msat",
|
||||
"remote_funds_msat": "0msat"
|
||||
},
|
||||
"msatoshi_to_us": 1000000000,
|
||||
"to_us_msat": "1000000000msat",
|
||||
@@ -278,7 +282,7 @@ fn test_keysend() {
|
||||
}],
|
||||
}],
|
||||
}),
|
||||
extratlvs: None,
|
||||
extratlvs: None,
|
||||
};
|
||||
|
||||
let u: cln_rpc::model::KeysendRequest = g.into();
|
||||
|
||||
Reference in New Issue
Block a user