other peer having different genesis is now a warning

This commit is contained in:
whyrusleeping 2019-12-07 23:16:39 +01:00
parent 99c4691720
commit d8d7827579

View File

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