aboutsummaryrefslogtreecommitdiff
path: root/tests/functional_tests/multisig.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional_tests/multisig.py')
-rwxr-xr-xtests/functional_tests/multisig.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/functional_tests/multisig.py b/tests/functional_tests/multisig.py
index 7d73a5d71..e0d8b06a4 100755
--- a/tests/functional_tests/multisig.py
+++ b/tests/functional_tests/multisig.py
@@ -81,7 +81,8 @@ class MultisigTest():
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 mine(self, address, blocks):