Skip to content
This repository has been archived by the owner on Feb 1, 2021. It is now read-only.

Commit

Permalink
add sync point for wallet.pay test
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg-Griffith committed Jun 1, 2019
1 parent 188bba2 commit a44a59f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions qa/rpc-tests/wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,9 +445,7 @@ def run_test (self):
wait_bitcoinds()
self.node_args = [['-usehd=0'], ['-usehd=0'], ['-usehd=0']]
self.nodes = start_nodes(3, self.options.tmpdir, self.node_args)
while m == '-reindex' and [block_count] * 3 != [self.nodes[i].getblockcount() for i in range(3)]:
# reindex will leave rpc warm up "early"; Wait for it to finish
time.sleep(0.1)
waitFor(60, lambda : [block_count] * 3 == [self.nodes[i].getblockcount() for i in range(3)])
assert_equal(balance_nodes, [self.nodes[i].getbalance() for i in range(3)])

'''
Expand Down

0 comments on commit a44a59f

Please sign in to comment.