diff --git a/eth/dropper.go b/eth/dropper.go index 736b29912a..3b7d9d1afa 100644 --- a/eth/dropper.go +++ b/eth/dropper.go @@ -129,7 +129,7 @@ func (cm *dropper) dropRandomPeer() bool { p := droppable[mrand.Intn(len(droppable))] log.Debug("Dropping random peer", "inbound", p.Inbound(), "id", p.ID(), "duration", common.PrettyDuration(p.Lifetime()), "peercountbefore", len(peers)) - p.Disconnect(p2p.DiscTooManyPeers) + p.Disconnect(p2p.DiscUselessPeer) if p.Inbound() { droppedInbound.Mark(1) } else {