aboutsummaryrefslogtreecommitdiff
path: root/test/functional/rpc_blockchain.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-11-10 18:02:31 +0100
committerMarcoFalke <falke.marco@gmail.com>2021-10-29 13:34:52 +0200
commitfacc352648e4fe1ed9b406400b6e4a9d51f30349 (patch)
tree7bba05900db761f91c0b416985a3a774984bfd49 /test/functional/rpc_blockchain.py
parent5574881ce329f91cc5bbc2b9585860a45fde7c3c (diff)
test: Implicitly sync after generate*, unless opted out
Diffstat (limited to 'test/functional/rpc_blockchain.py')
-rwxr-xr-xtest/functional/rpc_blockchain.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/rpc_blockchain.py b/test/functional/rpc_blockchain.py
index eea9ee26cb..6cebfdc51f 100755
--- a/test/functional/rpc_blockchain.py
+++ b/test/functional/rpc_blockchain.py
@@ -376,7 +376,7 @@ class BlockchainTest(BitcoinTestFramework):
self.log.debug('Node should not stop at this height')
assert_raises(subprocess.TimeoutExpired, lambda: self.nodes[0].process.wait(timeout=3))
try:
- self.generatetoaddress(self.nodes[0], 1, ADDRESS_BCRT1_P2WSH_OP_TRUE)
+ self.generatetoaddress(self.nodes[0], 1, ADDRESS_BCRT1_P2WSH_OP_TRUE, sync_fun=self.no_op)
except (ConnectionError, http.client.BadStatusLine):
pass # The node already shut down before response
self.log.debug('Node should stop at this height...')