Merge pull request #10759 from filecoin-project/steb/reduce-log-spam

fix: sync: reduce log from error to info
This commit is contained in:
Aayush Rajasekaran
2023-04-26 15:47:55 -04:00
committed by GitHub
+1 -1
View File
@@ -209,7 +209,7 @@ func (syncer *Syncer) InformNewHead(from peer.ID, fts *store.FullTipSet) bool {
}
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
}