@@ -600,7 +600,7 @@ fn do_test_async_raa_peer_disconnect(
600
600
}
601
601
602
602
// Expect the RAA
603
- let ( _, revoke_and_ack, commitment_signed, resend_order, _, _) =
603
+ let ( _, revoke_and_ack, commitment_signed, resend_order, _, _, _ ) =
604
604
handle_chan_reestablish_msgs ! ( dst, src) ;
605
605
if test_case == UnblockSignerAcrossDisconnectCase :: AtEnd {
606
606
assert ! ( revoke_and_ack. is_none( ) ) ;
@@ -616,14 +616,14 @@ fn do_test_async_raa_peer_disconnect(
616
616
dst. node . signer_unblocked ( Some ( ( src_node_id, chan_id) ) ) ;
617
617
618
618
if test_case == UnblockSignerAcrossDisconnectCase :: AtEnd {
619
- let ( _, revoke_and_ack, commitment_signed, resend_order, _, _) =
619
+ let ( _, revoke_and_ack, commitment_signed, resend_order, _, _, _ ) =
620
620
handle_chan_reestablish_msgs ! ( dst, src) ;
621
621
assert ! ( revoke_and_ack. is_some( ) ) ;
622
622
assert ! ( commitment_signed. is_some( ) ) ;
623
623
assert ! ( resend_order == RAACommitmentOrder :: RevokeAndACKFirst ) ;
624
624
} else {
625
625
// Make sure we don't double send the RAA.
626
- let ( _, revoke_and_ack, commitment_signed, _, _, _) =
626
+ let ( _, revoke_and_ack, commitment_signed, _, _, _, _ ) =
627
627
handle_chan_reestablish_msgs ! ( dst, src) ;
628
628
assert ! ( revoke_and_ack. is_none( ) ) ;
629
629
assert ! ( commitment_signed. is_none( ) ) ;
@@ -750,7 +750,8 @@ fn do_test_async_commitment_signature_peer_disconnect(
750
750
}
751
751
752
752
// Expect the RAA
753
- let ( _, revoke_and_ack, commitment_signed, _, _, _) = handle_chan_reestablish_msgs ! ( dst, src) ;
753
+ let ( _, revoke_and_ack, commitment_signed, _, _, _, _) =
754
+ handle_chan_reestablish_msgs ! ( dst, src) ;
754
755
assert ! ( revoke_and_ack. is_some( ) ) ;
755
756
if test_case == UnblockSignerAcrossDisconnectCase :: AtEnd {
756
757
assert ! ( commitment_signed. is_none( ) ) ;
@@ -763,11 +764,11 @@ fn do_test_async_commitment_signature_peer_disconnect(
763
764
dst. node . signer_unblocked ( Some ( ( src_node_id, chan_id) ) ) ;
764
765
765
766
if test_case == UnblockSignerAcrossDisconnectCase :: AtEnd {
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_some( ) ) ;
768
769
} else {
769
770
// Make sure we don't double send the CS.
770
- let ( _, _, commitment_signed, _, _, _) = handle_chan_reestablish_msgs ! ( dst, src) ;
771
+ let ( _, _, commitment_signed, _, _, _, _ ) = handle_chan_reestablish_msgs ! ( dst, src) ;
771
772
assert ! ( commitment_signed. is_none( ) ) ;
772
773
}
773
774
}
@@ -884,6 +885,7 @@ fn do_test_async_commitment_signature_ordering(monitor_update_failure: bool) {
884
885
assert ! ( as_resp. 2 . is_none( ) ) ;
885
886
assert ! ( as_resp. 4 . is_none( ) ) ;
886
887
assert ! ( as_resp. 5 . is_none( ) ) ;
888
+ assert ! ( as_resp. 6 . is_none( ) ) ;
887
889
888
890
if monitor_update_failure {
889
891
chanmon_cfgs[ 0 ] . persister . set_update_ret ( ChannelMonitorUpdateStatus :: Completed ) ;
@@ -905,6 +907,7 @@ fn do_test_async_commitment_signature_ordering(monitor_update_failure: bool) {
905
907
assert ! ( as_resp. 2 . is_none( ) ) ;
906
908
assert ! ( as_resp. 4 . is_none( ) ) ;
907
909
assert ! ( as_resp. 5 . is_none( ) ) ;
910
+ assert ! ( as_resp. 6 . is_none( ) ) ;
908
911
909
912
nodes[ 0 ] . enable_channel_signer_op ( & node_b_id, & chan_id, SignerOp :: SignCounterpartyCommitment ) ;
910
913
nodes[ 0 ] . node . signer_unblocked ( Some ( ( node_b_id, chan_id) ) ) ;
@@ -927,6 +930,9 @@ fn do_test_async_commitment_signature_ordering(monitor_update_failure: bool) {
927
930
assert ! ( as_resp. 5 . is_none( ) ) ;
928
931
assert ! ( bs_resp. 5 . is_none( ) ) ;
929
932
933
+ assert ! ( as_resp. 6 . is_none( ) ) ;
934
+ assert ! ( bs_resp. 6 . is_none( ) ) ;
935
+
930
936
// Now that everything is restored, get the CS + RAA and handle them.
931
937
nodes[ 1 ]
932
938
. node
0 commit comments