Changed log levels to make alfis less chatty.
This commit is contained in:
@@ -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
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user