Skip to content

Commit 18f82b8

Browse files
nepetcdecker
authored andcommitted
gl-cli: Adjust messages after upgrade
Signed-off-by: Peter Neuroth <[email protected]>
1 parent 16fd3eb commit 18f82b8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

libs/gl-cli/src/node.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ async fn invoice_handler<P: AsRef<Path>>(
316316
let mut node: gl_client::node::ClnClient = scheduler.node().await.map_err(Error::custom)?;
317317
let res = node
318318
.invoice(cln::InvoiceRequest {
319+
exposeprivatechannels: vec![],
319320
amount_msat: amount_msat.map(|v| v.into()),
320321
description,
321322
label,
@@ -387,6 +388,9 @@ async fn listpays_handler<P: AsRef<Path>>(
387388
let mut node: gl_client::node::ClnClient = scheduler.node().await.map_err(Error::custom)?;
388389
let res = node
389390
.list_pays(cln::ListpaysRequest {
391+
index: None,
392+
start: None,
393+
limit: None,
390394
bolt11,
391395
payment_hash,
392396
status,
@@ -443,6 +447,7 @@ async fn pay_handler<P: AsRef<Path>>(
443447
exclude: exclude.unwrap_or_default(),
444448
maxfee: maxfee.map(|msat| cln::Amount { msat }),
445449
description,
450+
partial_msat: None,
446451
})
447452
.await
448453
.map_err(|e| Error::custom(e.message()))?

0 commit comments

Comments
 (0)