@@ -596,7 +596,7 @@ fn do_test_async_raa_peer_disconnect(
596
596
}
597
597
598
598
// Expect the RAA
599
- let ( _, revoke_and_ack, commitment_signed, resend_order, _, _) =
599
+ let ( _, revoke_and_ack, commitment_signed, resend_order, _, _, _ ) =
600
600
handle_chan_reestablish_msgs ! ( dst, src) ;
601
601
if test_case == UnblockSignerAcrossDisconnectCase :: AtEnd {
602
602
assert ! ( revoke_and_ack. is_none( ) ) ;
@@ -612,14 +612,14 @@ fn do_test_async_raa_peer_disconnect(
612
612
dst. node . signer_unblocked ( Some ( ( src_node_id, chan_id) ) ) ;
613
613
614
614
if test_case == UnblockSignerAcrossDisconnectCase :: AtEnd {
615
- let ( _, revoke_and_ack, commitment_signed, resend_order, _, _) =
615
+ let ( _, revoke_and_ack, commitment_signed, resend_order, _, _, _ ) =
616
616
handle_chan_reestablish_msgs ! ( dst, src) ;
617
617
assert ! ( revoke_and_ack. is_some( ) ) ;
618
618
assert ! ( commitment_signed. is_some( ) ) ;
619
619
assert ! ( resend_order == RAACommitmentOrder :: RevokeAndACKFirst ) ;
620
620
} else {
621
621
// Make sure we don't double send the RAA.
622
- let ( _, revoke_and_ack, commitment_signed, _, _, _) =
622
+ let ( _, revoke_and_ack, commitment_signed, _, _, _, _ ) =
623
623
handle_chan_reestablish_msgs ! ( dst, src) ;
624
624
assert ! ( revoke_and_ack. is_none( ) ) ;
625
625
assert ! ( commitment_signed. is_none( ) ) ;
@@ -746,7 +746,8 @@ fn do_test_async_commitment_signature_peer_disconnect(
746
746
}
747
747
748
748
// Expect the RAA
749
- let ( _, revoke_and_ack, commitment_signed, _, _, _) = handle_chan_reestablish_msgs ! ( dst, src) ;
749
+ let ( _, revoke_and_ack, commitment_signed, _, _, _, _) =
750
+ handle_chan_reestablish_msgs ! ( dst, src) ;
750
751
assert ! ( revoke_and_ack. is_some( ) ) ;
751
752
if test_case == UnblockSignerAcrossDisconnectCase :: AtEnd {
752
753
assert ! ( commitment_signed. is_none( ) ) ;
@@ -759,11 +760,11 @@ fn do_test_async_commitment_signature_peer_disconnect(
759
760
dst. node . signer_unblocked ( Some ( ( src_node_id, chan_id) ) ) ;
760
761
761
762
if test_case == UnblockSignerAcrossDisconnectCase :: AtEnd {
762
- let ( _, _, commitment_signed, _, _, _) = handle_chan_reestablish_msgs ! ( dst, src) ;
763
+ let ( _, _, commitment_signed, _, _, _, _ ) = handle_chan_reestablish_msgs ! ( dst, src) ;
763
764
assert ! ( commitment_signed. is_some( ) ) ;
764
765
} else {
765
766
// Make sure we don't double send the CS.
766
- let ( _, _, commitment_signed, _, _, _) = handle_chan_reestablish_msgs ! ( dst, src) ;
767
+ let ( _, _, commitment_signed, _, _, _, _ ) = handle_chan_reestablish_msgs ! ( dst, src) ;
767
768
assert ! ( commitment_signed. is_none( ) ) ;
768
769
}
769
770
}
@@ -880,6 +881,7 @@ fn do_test_async_commitment_signature_ordering(monitor_update_failure: bool) {
880
881
assert ! ( as_resp. 2 . is_none( ) ) ;
881
882
assert ! ( as_resp. 4 . is_none( ) ) ;
882
883
assert ! ( as_resp. 5 . is_none( ) ) ;
884
+ assert ! ( as_resp. 6 . is_none( ) ) ;
883
885
884
886
if monitor_update_failure {
885
887
chanmon_cfgs[ 0 ] . persister . set_update_ret ( ChannelMonitorUpdateStatus :: Completed ) ;
@@ -901,6 +903,7 @@ fn do_test_async_commitment_signature_ordering(monitor_update_failure: bool) {
901
903
assert ! ( as_resp. 2 . is_none( ) ) ;
902
904
assert ! ( as_resp. 4 . is_none( ) ) ;
903
905
assert ! ( as_resp. 5 . is_none( ) ) ;
906
+ assert ! ( as_resp. 6 . is_none( ) ) ;
904
907
905
908
nodes[ 0 ] . enable_channel_signer_op ( & node_b_id, & chan_id, SignerOp :: SignCounterpartyCommitment ) ;
906
909
nodes[ 0 ] . node . signer_unblocked ( Some ( ( node_b_id, chan_id) ) ) ;
@@ -923,6 +926,9 @@ fn do_test_async_commitment_signature_ordering(monitor_update_failure: bool) {
923
926
assert ! ( as_resp. 5 . is_none( ) ) ;
924
927
assert ! ( bs_resp. 5 . is_none( ) ) ;
925
928
929
+ assert ! ( as_resp. 6 . is_none( ) ) ;
930
+ assert ! ( bs_resp. 6 . is_none( ) ) ;
931
+
926
932
// Now that everything is restored, get the CS + RAA and handle them.
927
933
nodes[ 1 ]
928
934
. node
0 commit comments