aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2018-04-30 13:03:33 -0400
committerMarcoFalke <falke.marco@gmail.com>2018-04-30 13:03:35 -0400
commit3186ad4a81a48a195df6626dc9994d34af09a0f9 (patch)
tree6559b53aee36134c4c4168c2a937bfc09987fcbb
parent783bb6455e18c91ede19c7fa62566347066c90e2 (diff)
parenta95bf6422a606b5a5e2735950204655d8b09d42d (diff)
downloadbitcoin-3186ad4a81a48a195df6626dc9994d34af09a0f9.tar.xz
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 in 3576ab1261. Tree-SHA512: 044d7cff5087d0e5e950fa80d20dec6427416697820e8748bc30f4d4e6f7ff0753a44eed398432f8c33ed79948a42fb65f9f5926aa6fbd14224e8bf6b12a54ed
-rwxr-xr-xtest/functional/rpc_deprecated.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/rpc_deprecated.py b/test/functional/rpc_deprecated.py
index 7b7c596506..2e0500e7c4 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)