mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 12:57:18 +00:00
Do Not Verify Attestations When Packing Them (#8135)
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
parent
148e7fcd59
commit
82bba593eb
@ -19,7 +19,7 @@ func (al proposerAtts) filter(ctx context.Context, state *stateTrie.BeaconState)
|
||||
validAtts := make([]*ethpb.Attestation, 0, len(al))
|
||||
invalidAtts := make([]*ethpb.Attestation, 0, len(al))
|
||||
for _, att := range al {
|
||||
if _, err := blocks.ProcessAttestation(ctx, state, att); err == nil {
|
||||
if _, err := blocks.ProcessAttestationNoVerifySignature(ctx, state, att); err == nil {
|
||||
validAtts = append(validAtts, att)
|
||||
continue
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user