Remove debug line.
This commit is contained in:
parent
1ae573bf21
commit
3c7814c8ac
@ -267,7 +267,6 @@ impl Client {
|
|||||||
|
|
||||||
// Check the block isn't so old we won't be able to enact it.
|
// Check the block isn't so old we won't be able to enact it.
|
||||||
let best_block_number = self.chain.read().unwrap().best_block_number();
|
let best_block_number = self.chain.read().unwrap().best_block_number();
|
||||||
debug!("Best: {}, importing: {}", best_block_number, header.number());
|
|
||||||
if best_block_number >= HISTORY && header.number() <= best_block_number - HISTORY {
|
if best_block_number >= HISTORY && header.number() <= best_block_number - HISTORY {
|
||||||
warn!(target: "client", "Block import failed for #{} ({})\nBlock is ancient (current best block: #{}).", header.number(), header.hash(), best_block_number);
|
warn!(target: "client", "Block import failed for #{} ({})\nBlock is ancient (current best block: #{}).", header.number(), header.hash(), best_block_number);
|
||||||
return Err(());
|
return Err(());
|
||||||
|
Loading…
Reference in New Issue
Block a user