From 9afedb50ed108c140f15977155415dc6659779e5 Mon Sep 17 00:00:00 2001 From: Revertron Date: Sat, 3 Apr 2021 23:27:36 +0200 Subject: [PATCH] Changed log levels to make alfis less chatty. --- src/blockchain/chain.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/blockchain/chain.rs b/src/blockchain/chain.rs index ae4fa61..3f93aaa 100644 --- a/src/blockchain/chain.rs +++ b/src/blockchain/chain.rs @@ -532,7 +532,7 @@ impl Chain { if block.index <= last_block.index { 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; } 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); Fork } else { - warn!("Ignoring block {}, we already have it", block.index); + debug!("Ignoring block {}, we already have it", block.index); Twin }; }