Skip to content

Commit 9d943ed

Browse files
committed
f fix test comments val caught
1 parent 347bb96 commit 9d943ed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lightning/src/ln/functional_tests.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7582,8 +7582,8 @@ fn test_announce_disable_channels() {
75827582
nodes[0].node.peer_disconnected(&nodes[1].node.get_our_node_id(), false);
75837583
nodes[1].node.peer_disconnected(&nodes[0].node.get_our_node_id(), false);
75847584

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
75877587
let msg_events = nodes[0].node.get_and_clear_pending_msg_events();
75887588
assert_eq!(msg_events.len(), 3);
75897589
for e in msg_events {
@@ -7631,7 +7631,7 @@ fn test_announce_disable_channels() {
76317631
for e in msg_events {
76327632
match e {
76337633
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
76357635
let short_id = msg.contents.short_channel_id;
76367636
// Check generated channel_update match list in PendingChannelUpdate
76377637
if short_id != short_id_1 && short_id != short_id_2 && short_id != short_id_3 {

0 commit comments

Comments
 (0)