diff --git a/qa/rpc-tests/llmq-chainlocks.py b/qa/rpc-tests/llmq-chainlocks.py index cdb76ad74a497..2086b0d15c381 100755 --- a/qa/rpc-tests/llmq-chainlocks.py +++ b/qa/rpc-tests/llmq-chainlocks.py @@ -102,7 +102,7 @@ def wait_for_chainlock(self, node, block_hash): while time() - t < 15: try: block = node.getblock(block_hash) - if block["chainlock"]: + if block["confirmations"] > 0 and block["chainlock"]: return except: # block might not be on the node yet