Revert Change Added in #5811 (#5828)

* revert

* remove
This commit is contained in:
Nishant Das 2020-05-12 21:39:36 +08:00 committed by GitHub
parent baf9ec60eb
commit ab23fadc5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -243,8 +243,7 @@ func (r *Service) validateStatusMessage(ctx context.Context, msg *pb.Status, str
if blk == nil {
return errors.New(genericError)
}
if helpers.SlotToEpoch(blk.Block.Slot) != msg.FinalizedEpoch {
return errInvalidEpoch
}
// TODO(#5827) Verify the finalized block with the epoch in the
// status message
return nil
}