Skip to content

Commit

Permalink
f fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
slanesuke committed Aug 19, 2024
1 parent bf855ad commit 75cf55c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/integration_tests_cln.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ use ldk_node::bitcoin::secp256k1::PublicKey;
use ldk_node::bitcoin::Amount;
use ldk_node::lightning::ln::msgs::SocketAddress;
use ldk_node::{Builder, Event};
use ldk_node::payment::SendingParameters;

use clightningrpc::lightningrpc::LightningRPC;
use clightningrpc::responses::NetworkAddress;
Expand Down Expand Up @@ -98,7 +99,7 @@ fn test_cln() {
cln_client.invoice(Some(10_000_000), &rand_label, &rand_label, None, None, None).unwrap();
let parsed_invoice = Bolt11Invoice::from_str(&cln_invoice.bolt11).unwrap();

node.bolt11_payment().send(&parsed_invoice).unwrap();
node.bolt11_payment().send(&parsed_invoice, None).unwrap();
common::expect_event!(node, PaymentSuccessful);
let cln_listed_invoices =
cln_client.listinvoices(Some(&rand_label), None, None, None).unwrap().invoices;
Expand Down

0 comments on commit 75cf55c

Please sign in to comment.