Revert "avoid packing attestations from other forks (#3893)"

This reverts commit 5dcfb0c4e7.
This commit is contained in:
Zahary Karadjov 2022-07-27 20:14:19 +03:00
parent 7cac6f46db
commit 64e791be66
No known key found for this signature in database
GPG Key ID: C1F42EAFF38D570F
1 changed files with 2 additions and 1 deletions

View File

@ -577,7 +577,8 @@ proc getAttestationsForBlock*(pool: var AttestationPool,
# Attestations are checked based on the state that we're adding the
# attestation to - there might have been a fork between when we first
# saw the attestation and the time that we added it
if check_attestation(state.data, attestation, {}, cache).isErr():
if not check_attestation(
state.data, attestation, {skipBlsValidation}, cache).isOk():
continue
let score = attCache.score(