mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 12:17:58 +00:00
Fix error message (#4549)
This commit is contained in:
committed by
Shawn Tabrizi
parent
6b57c7181f
commit
3cc6249cdf
@@ -926,7 +926,7 @@ impl<B: BlockT> ChainSync<B> {
|
||||
},
|
||||
Err(BlockImportError::BadBlock(who)) => {
|
||||
if let Some(peer) = who {
|
||||
info!("Bad block");
|
||||
info!("Block received from peer has been blacklisted");
|
||||
output.push(Err(BadPeer(peer, rep::BAD_BLOCK)));
|
||||
output.extend(self.restart());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user