mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-23 17:45:46 +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)) => {
|
Err(BlockImportError::BadBlock(who)) => {
|
||||||
if let Some(peer) = 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.push(Err(BadPeer(peer, rep::BAD_BLOCK)));
|
||||||
output.extend(self.restart());
|
output.extend(self.restart());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user