Changed log levels to make alfis less chatty.

This commit is contained in:
Revertron
2021-04-03 23:27:36 +02:00
parent 3e5f566c80
commit 9afedb50ed
+2 -2
View File
@@ -532,7 +532,7 @@ impl Chain {
if block.index <= last_block.index { if block.index <= last_block.index {
if last_block.hash == block.hash { if last_block.hash == block.hash {
warn!("Ignoring block {}, we already have it", block.index); debug!("Ignoring block {}, we already have it", block.index);
return Twin; return Twin;
} }
if let Some(my_block) = self.get_block(block.index) { if let Some(my_block) = self.get_block(block.index) {
@@ -540,7 +540,7 @@ impl Chain {
warn!("Got forked block {} with hash {:?} instead of {:?}", block.index, block.hash, last_block.hash); warn!("Got forked block {} with hash {:?} instead of {:?}", block.index, block.hash, last_block.hash);
Fork Fork
} else { } else {
warn!("Ignoring block {}, we already have it", block.index); debug!("Ignoring block {}, we already have it", block.index);
Twin Twin
}; };
} }