Skip to content

Commit 5e2e4fd

Browse files
committed
f fix comments
1 parent 63d17a1 commit 5e2e4fd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lightning/src/ln/chanmon_update_fail_tests.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -2408,10 +2408,11 @@ fn do_channel_holding_cell_serialize(disconnect: bool, reload_a: bool) {
24082408
assert_eq!(pending_cs.commitment_signed, cs);
24092409
} else { panic!(); }
24102410

2411-
// There should be no monitor updates as we are still pending awaiting a failed one.
24122411
if reload_a {
2412+
// The two pending monitor updates were replayed (but are still pending).
24132413
check_added_monitors(&nodes[0], 2);
24142414
} else {
2415+
// There should be no monitor updates as we are still pending awaiting a failed one.
24152416
check_added_monitors(&nodes[0], 0);
24162417
}
24172418
check_added_monitors(&nodes[1], 0);

0 commit comments

Comments
 (0)