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

This reverts commit 5dcfb0c4e7e3d8c2ab1e90ea142a98ec3a4c6137.
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

View File

@ -577,7 +577,8 @@ proc getAttestationsForBlock*(pool: var AttestationPool,
# Attestations are checked based on the state that we're adding the # Attestations are checked based on the state that we're adding the
# attestation to - there might have been a fork between when we first # attestation to - there might have been a fork between when we first
# saw the attestation and the time that we added it # 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 continue
let score = attCache.score( let score = attCache.score(