Skip to content

Commit a95bf64

Browse files
committed
[tests] Fix race in rpc_deprecated.py
Fixes a block generation race.
1 parent 783bb64 commit a95bf64

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/functional/rpc_deprecated.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ def run_test(self):
4949
#
5050
address0 = self.nodes[0].getnewaddress()
5151
self.nodes[0].generatetoaddress(101, address0)
52+
self.sync_all()
5253
address1 = self.nodes[1].getnewaddress()
5354
self.nodes[1].generatetoaddress(101, address1)
5455

0 commit comments

Comments
 (0)