diff --git a/tests/test_block_pool.nim b/tests/test_block_pool.nim index 0cf30dc95..43ecc86fe 100644 --- a/tests/test_block_pool.nim +++ b/tests/test_block_pool.nim @@ -581,7 +581,8 @@ suite "Diverging hardforks": var db = makeTestDB(SLOTS_PER_EPOCH) dag = init(ChainDAGRef, phase0RuntimeConfig, db, {}) - quarantine = QuarantineRef.init(keys.newRng()) + taskpool = Taskpool.new() + quarantine = QuarantineRef.init(keys.newRng(), taskpool) nilPhase0Callback: OnPhase0BlockAdded state = newClone(dag.headState.data) cache = StateCache()