Skip to content

Commit 9b548bc

Browse files
committed
f: messed up test use server
1 parent e3bc8c3 commit 9b548bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/async_payments_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ fn timeout_unreleased_payment() {
730730
server.onion_messenger.next_onion_message_for_peer(sender.node.get_our_node_id()).unwrap();
731731

732732
// We handle the static invoice to held the pending HTLC
733-
sender.onion_messenger.handle_onion_message(sender.node.get_our_node_id(), &static_invoice_om);
733+
sender.onion_messenger.handle_onion_message(server.node.get_our_node_id(), &static_invoice_om);
734734

735735
// We advance enough time to expire the payment.
736736
// We add 2 hours as is the margin added to remove stale payments in non-std implementation.

0 commit comments

Comments
 (0)