Skip to content

Commit 34dd7c5

Browse files
authored
Merge pull request #1091 from TheBlueMatt/2021-09-997-winblowz
Fix windows-only test failure added in #997
2 parents 0273ac5 + a233780 commit 34dd7c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lightning-persister/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@ mod tests {
330330
let nodes = create_network(2, &node_cfgs, &node_chanmgrs);
331331
let chan = create_announced_chan_between_nodes(&nodes, 0, 1, InitFeatures::known(), InitFeatures::known());
332332
nodes[1].node.force_close_channel(&chan.2).unwrap();
333+
check_closed_event!(nodes[1], 1, ClosureReason::HolderForceClosed);
333334
let mut added_monitors = nodes[1].chain_monitor.added_monitors.lock().unwrap();
334335

335336
// Create the persister with an invalid directory name and test that the

0 commit comments

Comments
 (0)