Skip to content

Commit

Permalink
Fix insufficient balance error
Browse files Browse the repository at this point in the history
  • Loading branch information
contrun committed Feb 12, 2025
1 parent 08fce01 commit df40935
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/cch/tests/payment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,11 @@ async fn test_cross_chain_payment() {

hub.get_lnd_node_mut().make_some_money();
lnd_node.make_some_money();
let lightning_channel = lnd_node.open_channel_with(hub.get_lnd_node_mut()).await;
let lightning_channel = hub
.get_lnd_node_mut()
.open_channel_with(&mut lnd_node)
.await;
let lightning_channel_2 = lnd_node.open_channel_with(hub.get_lnd_node_mut()).await;

let lnd_amount = 100000;
let add_invoice_result = lnd_node.add_invoice(lnd_amount as u64).await;
Expand Down

0 comments on commit df40935

Please sign in to comment.