effectively revert withEpochState (#1235)

This commit is contained in:
tersec 2020-06-25 12:14:41 +00:00 committed by GitHub
parent 1301600341
commit fe15d473c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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":