@@ -950,7 +950,7 @@ fn do_test_async_commitment_signature_ordering(monitor_update_failure: bool) {
950950 // The rest of this is boilerplate for resolving the previous state.
951951
952952 nodes[ 0 ] . node . handle_revoke_and_ack ( node_b_id, & bs_revoke_and_ack) ;
953- let as_commitment_signed = get_htlc_update_msgs ! ( nodes[ 0 ] , node_b_id) ;
953+ let as_commitment_signed = get_htlc_update_msgs ( & nodes[ 0 ] , & node_b_id) ;
954954 check_added_monitors ! ( nodes[ 0 ] , 1 ) ;
955955
956956 nodes[ 0 ] . node . handle_commitment_signed_batch_test ( node_b_id, & bs_second_commitment_signed) ;
@@ -1025,7 +1025,7 @@ fn do_test_async_holder_signatures(keyed_anchors: bool, p2a_anchor: bool, remote
10251025 check_closed_broadcast ( & nodes[ 1 ] , 1 , true ) ;
10261026 let reason =
10271027 ClosureReason :: HolderForceClosed { broadcasted_latest_txn : Some ( true ) , message } ;
1028- check_closed_event ( & nodes[ 1 ] , 1 , reason, false , & [ node_a_id] , 100_000 ) ;
1028+ check_closed_event ( & nodes[ 1 ] , 1 , reason, & [ node_a_id] , 100_000 ) ;
10291029 } else {
10301030 nodes[ 0 ] . disable_channel_signer_op ( & node_b_id, & chan_id, SignerOp :: SignHolderCommitment ) ;
10311031 nodes[ 0 ] . disable_channel_signer_op (
@@ -1100,7 +1100,7 @@ fn do_test_async_holder_signatures(keyed_anchors: bool, p2a_anchor: bool, remote
11001100 } else {
11011101 ClosureReason :: HTLCsTimedOut { payment_hash : Some ( payment_hash) }
11021102 } ;
1103- check_closed_event ( & nodes[ 0 ] , 1 , closure_reason, false , & [ node_b_id] , 100_000 ) ;
1103+ check_closed_event ( & nodes[ 0 ] , 1 , closure_reason, & [ node_b_id] , 100_000 ) ;
11041104
11051105 // If the counterparty broadcast its latest commitment, we need to mine enough blocks for the
11061106 // HTLC timeout.
@@ -1319,9 +1319,9 @@ fn do_test_closing_signed(extra_closing_signed: bool, reconnect: bool) {
13191319 assert ! ( nodes[ 0 ] . node. list_channels( ) . is_empty( ) ) ;
13201320 assert ! ( nodes[ 1 ] . node. list_channels( ) . is_empty( ) ) ;
13211321 let reason_a = ClosureReason :: LocallyInitiatedCooperativeClosure ;
1322- check_closed_event ! ( nodes[ 0 ] , 1 , reason_a, [ node_b_id] , 100000 ) ;
1322+ check_closed_event ( & nodes[ 0 ] , 1 , reason_a, & [ node_b_id] , 100000 ) ;
13231323 let reason_b = ClosureReason :: CounterpartyInitiatedCooperativeClosure ;
1324- check_closed_event ! ( nodes[ 1 ] , 1 , reason_b, [ node_a_id] , 100000 ) ;
1324+ check_closed_event ( & nodes[ 1 ] , 1 , reason_b, & [ node_a_id] , 100000 ) ;
13251325}
13261326
13271327#[ test]
@@ -1358,12 +1358,12 @@ fn test_no_disconnect_while_async_revoke_and_ack_expecting_remote_commitment_sig
13581358 nodes[ 1 ] . node . send_payment_with_route ( route2, payment_hash2, onion2, payment_id2) . unwrap ( ) ;
13591359 check_added_monitors ( & nodes[ 1 ] , 1 ) ;
13601360
1361- let update = get_htlc_update_msgs ! ( & nodes[ 0 ] , node_b_id) ;
1361+ let update = get_htlc_update_msgs ( & nodes[ 0 ] , & node_b_id) ;
13621362 nodes[ 1 ] . node . handle_update_add_htlc ( node_a_id, & update. update_add_htlcs [ 0 ] ) ;
13631363 nodes[ 1 ] . node . handle_commitment_signed_batch_test ( node_a_id, & update. commitment_signed ) ;
13641364 check_added_monitors ( & nodes[ 1 ] , 1 ) ;
13651365
1366- let update = get_htlc_update_msgs ! ( & nodes[ 1 ] , node_a_id) ;
1366+ let update = get_htlc_update_msgs ( & nodes[ 1 ] , & node_a_id) ;
13671367 nodes[ 0 ] . node . handle_update_add_htlc ( node_b_id, & update. update_add_htlcs [ 0 ] ) ;
13681368 nodes[ 0 ] . node . handle_commitment_signed_batch_test ( node_b_id, & update. commitment_signed ) ;
13691369 check_added_monitors ( & nodes[ 0 ] , 1 ) ;
@@ -1420,7 +1420,7 @@ fn test_no_disconnect_while_async_commitment_signed_expecting_remote_revoke_and_
14201420
14211421 // After processing the `update_fulfill`, they'll only be able to send `revoke_and_ack` until
14221422 // the `commitment_signed` is no longer pending.
1423- let mut update = get_htlc_update_msgs ! ( & nodes[ 1 ] , node_a_id) ;
1423+ let mut update = get_htlc_update_msgs ( & nodes[ 1 ] , & node_a_id) ;
14241424 nodes[ 0 ] . node . handle_update_fulfill_htlc ( node_b_id, update. update_fulfill_htlcs . remove ( 0 ) ) ;
14251425 expect_payment_sent ( & nodes[ 0 ] , preimage, None , false , false ) ;
14261426 nodes[ 0 ] . node . handle_commitment_signed_batch_test ( node_b_id, & update. commitment_signed ) ;
0 commit comments