Sync blocks before creating TXs (#2496)

This commit is contained in:
Alexander Block 2018-11-26 13:40:36 +01:00 committed by GitHub
parent bb11f1a638
commit 245c3220e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,6 +29,8 @@ class InstantSendTest(DashTestFramework):
set_mocktime(get_mocktime() + 1)
set_node_times(self.nodes, get_mocktime())
self.nodes[0].generate(1)
self.sync_all()
# create doublepending transaction, but don't relay it
dblspnd_tx = self.create_raw_trx(self.nodes[self.sender_idx],
self.nodes[self.isolated_idx],