@ -53,7 +53,8 @@ class BlockchainTest():
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 _test_generateblocks(self, blocks):
@ -45,7 +45,8 @@ class ColdSigningTest():
def create(self, idx):
@ -44,7 +44,8 @@ class GetOutputDistributionTest():
def create(self):
@ -53,7 +53,8 @@ class MiningTest():
@ -81,7 +81,8 @@ class MultisigTest():
def mine(self, address, blocks):
@ -50,7 +50,8 @@ class ProofsTest():
@ -50,7 +50,8 @@ class SpeedTest():
print 'Resetting blockchain'
def run_test(self):
@ -56,7 +56,8 @@ class TransferTest():
@ -46,7 +46,8 @@ class TransferTest():
@ -74,7 +74,8 @@ class WalletTest():