@@ -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