mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 04:47:18 +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.
|
||||
if err := helpers.VerifySlotTime(genesisTime, a.Data.Slot+1); err != nil {
|
||||
if err := helpers.VerifySlotTime(genesisTime, a.Data.Slot); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user