mirror of https://github.com/certusone/vouch.git
Reduce log message
This commit is contained in:
parent
1ec2f4e4a9
commit
05e5464948
|
@ -45,7 +45,7 @@ func (s *Service) HandleHeadEvent(event *api.Event) {
|
||||||
// for the purposes of this function, so ignore them.
|
// for the purposes of this function, so ignore them.
|
||||||
if !bytes.Equal(s.lastBlockRoot[:], zeroRoot[:]) &&
|
if !bytes.Equal(s.lastBlockRoot[:], zeroRoot[:]) &&
|
||||||
bytes.Equal(s.lastBlockRoot[:], data.Block[:]) {
|
bytes.Equal(s.lastBlockRoot[:], data.Block[:]) {
|
||||||
log.Info().Msg("Synthetic head event; ignoring")
|
log.Trace().Msg("Synthetic head event; ignoring")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
s.lastBlockRoot = data.Block
|
s.lastBlockRoot = data.Block
|
||||||
|
|
Loading…
Reference in New Issue