Skip to content

Commit e5ebabe

Browse files
committed
Enable ChainLocks after quorums have been created
Creating 4 quorums causes a lot of blocks to be created and signed by ChainLocks, which then causes timeouts later.
1 parent ee1d097 commit e5ebabe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/functional/llmq-chainlocks.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,14 @@ def run_test(self):
2929
sync_blocks(self.nodes, timeout=60*5)
3030

3131
self.nodes[0].spork("SPORK_17_QUORUM_DKG_ENABLED", 0)
32-
self.nodes[0].spork("SPORK_19_CHAINLOCKS_ENABLED", 0)
3332
self.wait_for_sporks_same()
3433

3534
self.log.info("Mining 4 quorums")
3635
for i in range(4):
3736
self.mine_quorum()
3837

38+
self.nodes[0].spork("SPORK_19_CHAINLOCKS_ENABLED", 0)
39+
3940
self.log.info("Mine single block, wait for chainlock")
4041
self.nodes[0].generate(1)
4142
self.wait_for_chainlocked_block_all_nodes(self.nodes[0].getbestblockhash())

0 commit comments

Comments
 (0)