diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-10-18 10:13:07 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-10-18 10:10:20 +0200 |
commit | faca3734c00ffaf2be7bd555fbfa2887ba28c811 (patch) | |
tree | 6b25cfd884fa09e5ca394e8c1c1bec9e2c3e985e /test | |
parent | 80c8a02f1b4f6ad2b5c02595d66a74db22373ed4 (diff) |
test: Fix intermittent issue in wallet_import_rescan
Diffstat (limited to 'test')
-rwxr-xr-x | test/functional/wallet_import_rescan.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/wallet_import_rescan.py b/test/functional/wallet_import_rescan.py index 9d532742ee..f491a69d99 100755 --- a/test/functional/wallet_import_rescan.py +++ b/test/functional/wallet_import_rescan.py @@ -182,6 +182,7 @@ class ImportRescanTest(BitcoinTestFramework): self.nodes[0].generate(1) # Generate one block for each send variant.confirmation_height = self.nodes[0].getblockcount() variant.timestamp = self.nodes[0].getblockheader(self.nodes[0].getbestblockhash())["time"] + self.sync_all() # Conclude sync before calling setmocktime to avoid timeouts # Generate a block further in the future (past the rescan window). assert_equal(self.nodes[0].getrawmempool(), []) |