From aaf1ccde142b7cd91ea2f1fe0459edc3fa271d63 Mon Sep 17 00:00:00 2001 From: Mamy Ratsimbazafy Date: Fri, 17 Sep 2021 12:24:04 +0200 Subject: [PATCH] Fix new altair blockpool test missing taskpool parameter (#2877) --- tests/test_block_pool.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()