functional_tests: pop exactly what we need to test before testing

This commit is contained in:
moneromooo-monero 2019-05-26 18:14:01 +00:00
parent e037ecb014
commit 1fac83858a
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
10 changed files with 20 additions and 10 deletions

View file

@ -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):