mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-03 16:37:39 +00:00
Change log when head changes (#10633)
This commit is contained in:
parent
7af89a82c9
commit
025d053fa4
@ -163,7 +163,7 @@ func (s *Service) notifyEngineIfChangedHead(ctx context.Context, newHeadRoot [32
|
|||||||
log.WithFields(logrus.Fields{
|
log.WithFields(logrus.Fields{
|
||||||
"oldHeadRoot": fmt.Sprintf("%#x", s.headRoot()),
|
"oldHeadRoot": fmt.Sprintf("%#x", s.headRoot()),
|
||||||
"newHeadRoot": fmt.Sprintf("%#x", newHeadRoot),
|
"newHeadRoot": fmt.Sprintf("%#x", newHeadRoot),
|
||||||
}).Debug("Head changed due to attestations")
|
}).Debug("Head changed")
|
||||||
|
|
||||||
if !s.hasBlockInInitSyncOrDB(ctx, newHeadRoot) {
|
if !s.hasBlockInInitSyncOrDB(ctx, newHeadRoot) {
|
||||||
log.Debug("New head does not exist in DB. Do nothing")
|
log.Debug("New head does not exist in DB. Do nothing")
|
||||||
|
Loading…
Reference in New Issue
Block a user