mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-12 04:30:04 +00:00
parent
baf9ec60eb
commit
ab23fadc5e
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user