Skip to content

Commit

Permalink
Sync blocks before creating TXs (#2496)
Browse files Browse the repository at this point in the history
  • Loading branch information
codablock authored Nov 26, 2018
1 parent bb11f1a commit 245c322
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qa/rpc-tests/p2p-instantsend.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ def run_test(self):
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],
Expand Down

0 comments on commit 245c322

Please sign in to comment.