diff options
Diffstat (limited to 'tests/functional_tests/speed.py')
-rwxr-xr-x | tests/functional_tests/speed.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/functional_tests/speed.py b/tests/functional_tests/speed.py index 5858c5803..591c98ec1 100755 --- a/tests/functional_tests/speed.py +++ b/tests/functional_tests/speed.py @@ -50,7 +50,8 @@ class SpeedTest(): 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 run_test(self): |