diff options
author | John Newbery <john@johnnewbery.com> | 2018-04-30 12:38:03 -0400 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2018-04-30 12:38:03 -0400 |
commit | a95bf6422a606b5a5e2735950204655d8b09d42d (patch) | |
tree | 6559b53aee36134c4c4168c2a937bfc09987fcbb | |
parent | 783bb6455e18c91ede19c7fa62566347066c90e2 (diff) |
[tests] Fix race in rpc_deprecated.py
Fixes a block generation race.
-rwxr-xr-x | test/functional/rpc_deprecated.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/rpc_deprecated.py b/test/functional/rpc_deprecated.py index 7b7c596506..2e0500e7c4 100755 --- a/test/functional/rpc_deprecated.py +++ b/test/functional/rpc_deprecated.py @@ -49,6 +49,7 @@ class DeprecatedRpcTest(BitcoinTestFramework): # address0 = self.nodes[0].getnewaddress() self.nodes[0].generatetoaddress(101, address0) + self.sync_all() address1 = self.nodes[1].getnewaddress() self.nodes[1].generatetoaddress(101, address1) |