From 245c3220e9e0c3a4c716fc8b82f2f27f3af36e7e Mon Sep 17 00:00:00 2001 From: Alexander Block Date: Mon, 26 Nov 2018 13:40:36 +0100 Subject: [PATCH] Sync blocks before creating TXs (#2496) --- qa/rpc-tests/p2p-instantsend.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qa/rpc-tests/p2p-instantsend.py b/qa/rpc-tests/p2p-instantsend.py index e16b26173..69789b33f 100755 --- a/qa/rpc-tests/p2p-instantsend.py +++ b/qa/rpc-tests/p2p-instantsend.py @@ -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],