Fix error message (#4549)

This commit is contained in:
Gavin Wood authored and Shawn Tabrizi committed 2020-01-07 01:57:32 +01:00
1 parent 6b57c7181f
commit 3cc6249cdf
1 file changed
+1 -1
@@ -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());
}