@@ -1512,6 +1512,8 @@ pub fn do_test<Out: Output>(data: &[u8], underlying_out: Out, anchors: bool) {
15121512 0x27 => process_ev_noret ! ( 2 , false ) ,
15131513
15141514 0x2a | 0x2b | 0x2c => {
1515+ // Restart node A, picking among the in-flight `ChannelMonitor`s to use based on
1516+ // the value of `v` we're matching.
15151517 if !chan_a_disconnected {
15161518 nodes[ 1 ] . peer_disconnected ( nodes[ 0 ] . get_our_node_id ( ) ) ;
15171519 chan_a_disconnected = true ;
@@ -1530,6 +1532,8 @@ pub fn do_test<Out: Output>(data: &[u8], underlying_out: Out, anchors: bool) {
15301532 monitor_a = new_monitor_a;
15311533 } ,
15321534 0x28 | 0x29 | 0x2d => {
1535+ // Restart node B, picking among the in-flight `ChannelMonitor`s to use based on
1536+ // the value of `v` we're matching.
15331537 if !chan_a_disconnected {
15341538 nodes[ 0 ] . peer_disconnected ( nodes[ 1 ] . get_our_node_id ( ) ) ;
15351539 chan_a_disconnected = true ;
@@ -1552,6 +1556,8 @@ pub fn do_test<Out: Output>(data: &[u8], underlying_out: Out, anchors: bool) {
15521556 monitor_b = new_monitor_b;
15531557 } ,
15541558 0x2e | 0x2f => {
1559+ // Restart node B, picking among the in-flight `ChannelMonitor`s to use based on
1560+ // the value of `v` we're matching.
15551561 if !chan_b_disconnected {
15561562 nodes[ 1 ] . peer_disconnected ( nodes[ 2 ] . get_our_node_id ( ) ) ;
15571563 chan_b_disconnected = true ;
0 commit comments