Merge pull request #6357 from filecoin-project/chore/demote_different_genesis_log_message

Reduce noise from 'peer has different genesis' messages
This commit is contained in:
Łukasz Magiera 2021-05-31 14:20:37 +02:00 committed by GitHub
commit d7b2f8c0b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,7 +77,7 @@ func (hs *Service) HandleStream(s inet.Stream) {
"hash", hmsg.GenesisHash)
if hmsg.GenesisHash != hs.syncer.Genesis.Cids()[0] {
log.Warnf("other peer has different genesis! (%s)", hmsg.GenesisHash)
log.Debugf("other peer has different genesis! (%s)", hmsg.GenesisHash)
_ = s.Conn().Close()
return
}