@@ -1512,6 +1512,8 @@ pub fn do_test<Out: Output>(data: &[u8], underlying_out: Out, anchors: bool) {
1512
1512
0x27 => process_ev_noret ! ( 2 , false ) ,
1513
1513
1514
1514
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.
1515
1517
if !chan_a_disconnected {
1516
1518
nodes[ 1 ] . peer_disconnected ( nodes[ 0 ] . get_our_node_id ( ) ) ;
1517
1519
chan_a_disconnected = true ;
@@ -1530,6 +1532,8 @@ pub fn do_test<Out: Output>(data: &[u8], underlying_out: Out, anchors: bool) {
1530
1532
monitor_a = new_monitor_a;
1531
1533
} ,
1532
1534
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.
1533
1537
if !chan_a_disconnected {
1534
1538
nodes[ 0 ] . peer_disconnected ( nodes[ 1 ] . get_our_node_id ( ) ) ;
1535
1539
chan_a_disconnected = true ;
@@ -1552,6 +1556,8 @@ pub fn do_test<Out: Output>(data: &[u8], underlying_out: Out, anchors: bool) {
1552
1556
monitor_b = new_monitor_b;
1553
1557
} ,
1554
1558
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.
1555
1561
if !chan_b_disconnected {
1556
1562
nodes[ 1 ] . peer_disconnected ( nodes[ 2 ] . get_our_node_id ( ) ) ;
1557
1563
chan_b_disconnected = true ;
0 commit comments