Merge pull request #10759 from filecoin-project/steb/reduce-log-spam
fix: sync: reduce log from error to info
This commit is contained in:
commit
88ff21a211
@ -209,7 +209,7 @@ func (syncer *Syncer) InformNewHead(from peer.ID, fts *store.FullTipSet) bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if !syncer.consensus.IsEpochInConsensusRange(fts.TipSet().Height()) {
|
if !syncer.consensus.IsEpochInConsensusRange(fts.TipSet().Height()) {
|
||||||
log.Errorf("Received block with impossibly large height %d", fts.TipSet().Height())
|
log.Infof("received block outside of consensus range at height %d", fts.TipSet().Height())
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user