From 567610a3bdb10c810fc9ed6ed9da2660c71b8404 Mon Sep 17 00:00:00 2001 From: Etan Kissling Date: Fri, 10 Nov 2023 13:07:50 +0100 Subject: [PATCH] fix --- tests/test_blockchain_dag.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_blockchain_dag.nim b/tests/test_blockchain_dag.nim index 757bd992ec..b13e6bfd3d 100644 --- a/tests/test_blockchain_dag.nim +++ b/tests/test_blockchain_dag.nim @@ -1145,7 +1145,7 @@ suite "Pruning": var res = defaultRuntimeConfig res.MIN_VALIDATOR_WITHDRAWABILITY_DELAY = 4 res.CHURN_LIMIT_QUOTIENT = 1 - res.MIN_EPOCHS_FOR_BLOCK_REQUESTS = cfg.safeMinEpochsForBlockRequests() + res.MIN_EPOCHS_FOR_BLOCK_REQUESTS = res.safeMinEpochsForBlockRequests() doAssert res.MIN_EPOCHS_FOR_BLOCK_REQUESTS == 4 res db = makeTestDB(SLOTS_PER_EPOCH)