From fe15d473c91d7ee9fc7adea8635647d3f97b746f Mon Sep 17 00:00:00 2001 From: tersec Date: Thu, 25 Jun 2020 12:14:41 +0000 Subject: [PATCH] effectively revert withEpochState (#1235) --- beacon_chain/attestation_aggregation.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon_chain/attestation_aggregation.nim b/beacon_chain/attestation_aggregation.nim index f7ddc64fc..4322b09da 100644 --- a/beacon_chain/attestation_aggregation.nim +++ b/beacon_chain/attestation_aggregation.nim @@ -133,7 +133,7 @@ proc isValidAttestation*( pool.blockPool.addMissing(attestation.data.beacon_block_root) return false - pool.blockPool.withEpochState( + pool.blockPool.withState( pool.blockPool.tmpState, BlockSlot(blck: attestationBlck, slot: attestation.data.slot)): when ETH2_SPEC == "v0.12.1":