Use Debug for genesis mismatch message (#8449)

This commit is contained in:
Pierre Krieger
2021-03-24 20:51:58 +01:00
committed by GitHub
parent e1570b9ab4
commit 1063fc7e35
+1 -1
View File
@@ -665,7 +665,7 @@ impl<B: BlockT> Protocol<B> {
if status.genesis_hash != self.genesis_hash {
log!(
target: "sync",
if self.important_peers.contains(&who) { Level::Warn } else { Level::Trace },
if self.important_peers.contains(&who) { Level::Warn } else { Level::Debug },
"Peer is on different chain (our genesis: {} theirs: {})",
self.genesis_hash, status.genesis_hash
);