Skip to content

Commit 0149198

Browse files
committed
f one more check
1 parent b4db179 commit 0149198

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lightning/src/ln/chanmon_update_fail_tests.rs

+2
Original file line numberDiff line numberDiff line change
@@ -2847,6 +2847,7 @@ fn do_test_outbound_reload_without_init_mon(use_0conf: bool) {
28472847
assert!(nodes_0_read.is_empty());
28482848

28492849
check_closed_event!(nodes[0], 1, ClosureReason::DisconnectedPeer);
2850+
assert!(nodes[0].node.list_channels().is_empty());
28502851
}
28512852

28522853
#[test]
@@ -2952,6 +2953,7 @@ fn do_test_inbound_reload_without_init_mon(use_0conf: bool, lock_commitment: boo
29522953
assert!(nodes_1_read.is_empty());
29532954

29542955
check_closed_event!(nodes[1], 1, ClosureReason::DisconnectedPeer);
2956+
assert!(nodes[1].node.list_channels().is_empty());
29552957
}
29562958

29572959
#[test]

0 commit comments

Comments
 (0)