aboutsummaryrefslogtreecommitdiff
path: root/tests/functional_tests/cold_signing.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional_tests/cold_signing.py')
-rwxr-xr-xtests/functional_tests/cold_signing.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/functional_tests/cold_signing.py b/tests/functional_tests/cold_signing.py
index a722d8927..f915df77a 100755
--- a/tests/functional_tests/cold_signing.py
+++ b/tests/functional_tests/cold_signing.py
@@ -45,7 +45,8 @@ class ColdSigningTest():
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, idx):