mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 02:25:40 +01:00
[tests] Fix race in rpc_deprecated.py
Fixes a block generation race.
This commit is contained in:
parent
783bb6455e
commit
a95bf6422a
@ -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 New Issue
Block a user