mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-10 14:26:26 +00:00
Revert "avoid packing attestations from other forks (#3893)"
This reverts commit 5dcfb0c4e7e3d8c2ab1e90ea142a98ec3a4c6137.
This commit is contained in:
parent
7cac6f46db
commit
64e791be66
@ -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(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user