Remove next slot requirement for processing attestations (#5384)

* Remove next slot requirement for processing attestations
This commit is contained in:
Preston Van Loon 2020-04-10 17:12:47 -07:00 committed by GitHub
parent ca0912e5d8
commit b69c76c879
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
} }