functional_tests: pop exactly what we need to test before testing
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user