other peer having different genesis is now a warning
This commit is contained in:
parent
99c4691720
commit
d8d7827579
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user