diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-05-26 18:14:01 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-09-17 11:38:31 +0000 |
commit | 1fac83858a8bbf778272172c4995609d60a75805 (patch) | |
tree | 28e1b944caa4643f733a25567274bf986a6386d1 /tests/functional_tests/get_output_distribution.py | |
parent | functional_tests: check for RPC methods which aren't exposed (diff) | |
download | monero-1fac83858a8bbf778272172c4995609d60a75805.tar.xz |
functional_tests: pop exactly what we need to test before testing
Diffstat (limited to 'tests/functional_tests/get_output_distribution.py')
-rwxr-xr-x | tests/functional_tests/get_output_distribution.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/functional_tests/get_output_distribution.py b/tests/functional_tests/get_output_distribution.py index 93822e90a..077b094ba 100755 --- a/tests/functional_tests/get_output_distribution.py +++ b/tests/functional_tests/get_output_distribution.py @@ -44,7 +44,8 @@ class GetOutputDistributionTest(): 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): |