diff options
Diffstat (limited to 'tests/functional_tests/mining.py')
-rwxr-xr-x | tests/functional_tests/mining.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/functional_tests/mining.py b/tests/functional_tests/mining.py index 360f2763d..f1b91e8fc 100755 --- a/tests/functional_tests/mining.py +++ b/tests/functional_tests/mining.py @@ -53,7 +53,8 @@ class MiningTest(): def reset(self): print('Resetting blockchain') daemon = Daemon() - daemon.pop_blocks(1000) + res = daemon.get_height() + daemon.pop_blocks(res.height - 1) daemon.flush_txpool() def create(self): |