[tests] Fix race in rpc_deprecated.py
Fixes a block generation race.
This commit is contained in:
parent
783bb6455e
commit
a95bf6422a
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue