mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 03:30:35 +00:00
Rename block by range request log (#13561)
This commit is contained in:
parent
e3ce1bde45
commit
61ab4bf7ca
@ -30,7 +30,7 @@ func (s *Service) beaconBlocksByRangeRPCHandler(ctx context.Context, msg interfa
|
|||||||
if !ok {
|
if !ok {
|
||||||
return errors.New("message is not type *pb.BeaconBlockByRangeRequest")
|
return errors.New("message is not type *pb.BeaconBlockByRangeRequest")
|
||||||
}
|
}
|
||||||
log.WithField("start-slot", m.StartSlot).WithField("count", m.Count).Debug("BeaconBlocksByRangeRequest")
|
log.WithField("startSlot", m.StartSlot).WithField("count", m.Count).Debug("Serving block by range request")
|
||||||
rp, err := validateRangeRequest(m, s.cfg.clock.CurrentSlot())
|
rp, err := validateRangeRequest(m, s.cfg.clock.CurrentSlot())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
s.writeErrorResponseToStream(responseCodeInvalidRequest, err.Error(), stream)
|
s.writeErrorResponseToStream(responseCodeInvalidRequest, err.Error(), stream)
|
||||||
|
Loading…
Reference in New Issue
Block a user