diff options
Diffstat (limited to 'tests/functional_tests/txpool.py')
-rwxr-xr-x | tests/functional_tests/txpool.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/functional_tests/txpool.py b/tests/functional_tests/txpool.py index fd74ae129..27ae89764 100755 --- a/tests/functional_tests/txpool.py +++ b/tests/functional_tests/txpool.py @@ -46,7 +46,8 @@ class TransferTest(): 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): |