diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-11-10 18:02:31 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-10-29 13:34:52 +0200 |
commit | facc352648e4fe1ed9b406400b6e4a9d51f30349 (patch) | |
tree | 7bba05900db761f91c0b416985a3a774984bfd49 /test/functional/mining_basic.py | |
parent | 5574881ce329f91cc5bbc2b9585860a45fde7c3c (diff) | |
download | bitcoin-facc352648e4fe1ed9b406400b6e4a9d51f30349.tar.xz |
test: Implicitly sync after generate*, unless opted out
Diffstat (limited to 'test/functional/mining_basic.py')
-rwxr-xr-x | test/functional/mining_basic.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/mining_basic.py b/test/functional/mining_basic.py index f141d201eb..3d1f804ddc 100755 --- a/test/functional/mining_basic.py +++ b/test/functional/mining_basic.py @@ -58,7 +58,7 @@ class MiningTest(BitcoinTestFramework): self.log.info('Create some old blocks') for t in range(TIME_GENESIS_BLOCK, TIME_GENESIS_BLOCK + 200 * 600, 600): self.nodes[0].setmocktime(t) - self.generate(self.nodes[0], 1) + self.generate(self.nodes[0], 1, sync_fun=self.no_op) mining_info = self.nodes[0].getmininginfo() assert_equal(mining_info['blocks'], 200) assert_equal(mining_info['currentblocktx'], 0) |