Fix small typo in error log (#2975)

## Proposed Changes

Fixes a small typo I came across.
This commit is contained in:
Mac L 2022-01-31 22:55:07 +00:00
parent 5d26050e97
commit 286996b090

View File

@ -122,7 +122,7 @@ impl<TSpec: EthSpec> NetworkBehaviour for PeerManager<TSpec> {
// TODO: directly emit the ban event? // TODO: directly emit the ban event?
BanResult::BadScore => { BanResult::BadScore => {
// This is a faulty state // This is a faulty state
error!(self.log, "Connecteded to a banned peer, re-banning"; "peer_id" => %peer_id); error!(self.log, "Connected to a banned peer, re-banning"; "peer_id" => %peer_id);
// Reban the peer // Reban the peer
self.goodbye_peer(peer_id, GoodbyeReason::Banned, ReportSource::PeerManager); self.goodbye_peer(peer_id, GoodbyeReason::Banned, ReportSource::PeerManager);
return; return;