@@ -434,7 +434,7 @@ fn do_test_payment(masks: &Vec<u32>) {
434
434
// TODO: run this with_async_signer once validate_counterparty_revocation supports it.
435
435
alice. node . handle_revoke_and_ack ( & bob. node . get_our_node_id ( ) , & raa) ;
436
436
check_added_monitors ( alice, 1 ) ;
437
-
437
+
438
438
with_async_signer ( & alice, & bob. node . get_our_node_id ( ) , & channel_id, masks, & || {
439
439
alice. node . handle_commitment_signed ( & bob. node . get_our_node_id ( ) , & cu. commitment_signed ) ;
440
440
check_added_monitors ( alice, 1 ) ;
@@ -471,7 +471,7 @@ fn do_test_payment(masks: &Vec<u32>) {
471
471
ev => panic ! ( "Expected PaymentClaimed, got {:?}" , ev) ,
472
472
}
473
473
}
474
-
474
+
475
475
// alice <--[update_fulfill_htlcs]-- bob
476
476
// alice <--[commitment_signed]-- bob
477
477
{
@@ -512,7 +512,7 @@ fn do_test_payment(masks: &Vec<u32>) {
512
512
// TODO: run with async once validate_counterparty_revocation supports it.
513
513
bob. node . handle_revoke_and_ack ( & alice. node . get_our_node_id ( ) , & raa) ;
514
514
check_added_monitors ( bob, 1 ) ;
515
-
515
+
516
516
with_async_signer ( & bob, & alice. node . get_our_node_id ( ) , & channel_id, masks, & || {
517
517
bob. node . handle_commitment_signed ( & alice. node . get_our_node_id ( ) , & cu. commitment_signed ) ;
518
518
check_added_monitors ( bob, 1 ) ;
@@ -739,4 +739,3 @@ fn test_peer_reconnect_srg() {
739
739
fn test_peer_reconnect_sgr ( ) {
740
740
do_test_payment ( & vec ! [ ops:: SIGN_COUNTERPARTY_COMMITMENT , ops:: GET_PER_COMMITMENT_POINT , ops:: RELEASE_COMMITMENT_SECRET ] ) ;
741
741
}
742
-
0 commit comments