Merge #13130: [tests] Fix race in rpc_deprecated.py
a95bf6422a
[tests] Fix race in rpc_deprecated.py (John Newbery) Pull request description: Fixes a block generation race introduced in3576ab1261
. Tree-SHA512: 044d7cff5087d0e5e950fa80d20dec6427416697820e8748bc30f4d4e6f7ff0753a44eed398432f8c33ed79948a42fb65f9f5926aa6fbd14224e8bf6b12a54ed
This commit is contained in:
commit
3186ad4a81
1 changed files with 1 additions and 0 deletions
|
@ -49,6 +49,7 @@ class DeprecatedRpcTest(BitcoinTestFramework):
|
||||||
#
|
#
|
||||||
address0 = self.nodes[0].getnewaddress()
|
address0 = self.nodes[0].getnewaddress()
|
||||||
self.nodes[0].generatetoaddress(101, address0)
|
self.nodes[0].generatetoaddress(101, address0)
|
||||||
|
self.sync_all()
|
||||||
address1 = self.nodes[1].getnewaddress()
|
address1 = self.nodes[1].getnewaddress()
|
||||||
self.nodes[1].generatetoaddress(101, address1)
|
self.nodes[1].generatetoaddress(101, address1)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue