diff options
| author | John Newbery <[email protected]> | 2018-04-30 12:38:03 -0400 |
|---|---|---|
| committer | John Newbery <[email protected]> | 2018-04-30 12:38:03 -0400 |
| commit | a95bf6422a606b5a5e2735950204655d8b09d42d (patch) | |
| tree | 6559b53aee36134c4c4168c2a937bfc09987fcbb | |
| parent | Merge #13028: Make vpwallets usage thread safe (diff) | |
| download | discoin-a95bf6422a606b5a5e2735950204655d8b09d42d.tar.xz discoin-a95bf6422a606b5a5e2735950204655d8b09d42d.zip | |
[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 7b7c59650..2e0500e7c 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) |