Connect blocks at the end
authorMatt Corallo <git@bluematt.me>
Fri, 17 Aug 2018 21:42:28 +0000 (17:42 -0400)
committerMatt Corallo <git@bluematt.me>
Mon, 25 May 2020 19:36:59 +0000 (15:36 -0400)
fuzz/src/full_stack.rs

index 2af173cfcb4374ff3bdc9ffc6c9f69a900dbc1c8..ff3ef74e8eaee751a300b511e2de402b1a8a326d 100644 (file)
@@ -222,6 +222,9 @@ impl<'a> Drop for MoneyLossDetector<'a> {
 
                        // Force all channels onto the chain (and time out claim txn)
                        self.manager.force_close_all_channels();
 
                        // Force all channels onto the chain (and time out claim txn)
                        self.manager.force_close_all_channels();
+                       for _ in 0..6*24*14 {
+                               self.connect_block(&[]);
+                       }
                }
        }
 }
                }
        }
 }