mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-26 05:17:22 +00:00
Remove next slot requirement for processing attestations (#5384)
* Remove next slot requirement for processing attestations
This commit is contained in:
parent
ca0912e5d8
commit
b69c76c879
@ -108,7 +108,7 @@ func (s *Service) onAttestation(ctx context.Context, a *ethpb.Attestation) ([]ui
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Verify attestations can only affect the fork choice of subsequent slots.
|
// Verify attestations can only affect the fork choice of subsequent slots.
|
||||||
if err := helpers.VerifySlotTime(genesisTime, a.Data.Slot+1); err != nil {
|
if err := helpers.VerifySlotTime(genesisTime, a.Data.Slot); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user