Skip to content

Commit c96cef5

Browse files
fix: resolve rustfmt failure after rebase
1 parent 44ecb16 commit c96cef5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

lightning/src/ln/splicing_tests.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2987,14 +2987,14 @@ fn do_abandon_splice_quiescent_action_on_shutdown(local_shutdown: bool, pending_
29872987
splice_channel(&nodes[0], &nodes[1], channel_id, funding_contribution);
29882988
}
29892989

2990-
// Since we cannot close after having sent `stfu`, send an HTLC so that when we attempt to
2991-
// splice, the `stfu` message is held back.
2992-
let payment_amount = 1_000_000;
2993-
let (route, payment_hash, _payment_preimage, payment_secret) =
2994-
get_route_and_payment_hash!(&nodes[0], &nodes[1], payment_amount);
2995-
let onion = RecipientOnionFields::secret_only(payment_secret, payment_amount);
2996-
let payment_id = PaymentId(payment_hash.0);
2997-
nodes[0].node.send_payment_with_route(route, payment_hash, onion, payment_id).unwrap();
2990+
// Since we cannot close after having sent `stfu`, send an HTLC so that when we attempt to
2991+
// splice, the `stfu` message is held back.
2992+
let payment_amount = 1_000_000;
2993+
let (route, payment_hash, _payment_preimage, payment_secret) =
2994+
get_route_and_payment_hash!(&nodes[0], &nodes[1], payment_amount);
2995+
let onion = RecipientOnionFields::secret_only(payment_secret, payment_amount);
2996+
let payment_id = PaymentId(payment_hash.0);
2997+
nodes[0].node.send_payment_with_route(route, payment_hash, onion, payment_id).unwrap();
29982998
let update = get_htlc_update_msgs(&nodes[0], &node_id_1);
29992999
check_added_monitors(&nodes[0], 1);
30003000

0 commit comments

Comments
 (0)