File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7582,8 +7582,8 @@ fn test_announce_disable_channels() {
7582
7582
nodes[ 0 ] . node . peer_disconnected ( & nodes[ 1 ] . node . get_our_node_id ( ) , false ) ;
7583
7583
nodes[ 1 ] . node . peer_disconnected ( & nodes[ 0 ] . node . get_our_node_id ( ) , false ) ;
7584
7584
7585
- nodes[ 0 ] . node . timer_tick_occurred ( ) ; // enabled -> disabledstagged
7586
- nodes[ 0 ] . node . timer_tick_occurred ( ) ; // disabledstaged -> disabled
7585
+ nodes[ 0 ] . node . timer_tick_occurred ( ) ; // Enabled -> DisabledStaged
7586
+ nodes[ 0 ] . node . timer_tick_occurred ( ) ; // DisabledStaged -> Disabled
7587
7587
let msg_events = nodes[ 0 ] . node . get_and_clear_pending_msg_events ( ) ;
7588
7588
assert_eq ! ( msg_events. len( ) , 3 ) ;
7589
7589
for e in msg_events {
@@ -7631,7 +7631,7 @@ fn test_announce_disable_channels() {
7631
7631
for e in msg_events {
7632
7632
match e {
7633
7633
MessageSendEvent :: BroadcastChannelUpdate { ref msg } => {
7634
- assert_eq ! ( msg. contents. flags & ( 1 <<1 ) , 0 ) ; // The channel disabled" bit should be off
7634
+ assert_eq ! ( msg. contents. flags & ( 1 <<1 ) , 0 ) ; // The " channel disabled" bit should be off
7635
7635
let short_id = msg. contents . short_channel_id ;
7636
7636
// Check generated channel_update match list in PendingChannelUpdate
7637
7637
if short_id != short_id_1 && short_id != short_id_2 && short_id != short_id_3 {
You can’t perform that action at this time.
0 commit comments