]> git.bitcoin.ninja Git - rust-lightning/commitdiff
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, 3 Feb 2020 02:38:54 +0000 (21:38 -0500)
fuzz/src/full_stack.rs

index 2237e91333b34d47cb875b3ee1bed456bef160d2..21e6e5d46efa4389bfe34958873126fb2e530da4 100644 (file)
@@ -220,6 +220,9 @@ impl<'a> Drop for MoneyLossDetector<'a> {
 
                        // 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(&[]);
+                       }
                }
        }
 }