Sync mempool before generating blocks

This commit is contained in:
Alexander Block 2020-04-09 08:15:58 +02:00
parent 36d909aa30
commit 12ae7e171e

View File

@ -85,6 +85,8 @@ class InstantSendTest(DashTestFramework):
# TODO: mine these blocks on an isolated node
self.bump_mocktime(1)
set_node_times(self.nodes, self.mocktime)
# make sure the above TX is on node0
self.sync_mempools([n for n in self.nodes if n is not isolated])
self.nodes[0].generate(2)
self.sync_all()