From e7610ece97dd7609871b207a58ab7d1ad6bff20d Mon Sep 17 00:00:00 2001 From: Agnish Ghosh Date: Sun, 18 Aug 2024 13:10:21 +0530 Subject: [PATCH] ignore peers with low csc --- beacon_chain/networking/eth2_network.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon_chain/networking/eth2_network.nim b/beacon_chain/networking/eth2_network.nim index 363b22a7d..4ad1667b7 100644 --- a/beacon_chain/networking/eth2_network.nim +++ b/beacon_chain/networking/eth2_network.nim @@ -1668,7 +1668,7 @@ proc resolvePeer(peer: Peer) = proc handlePeer*(peer: Peer) {.async: (raises: [CancelledError]).} = let res = peer.network.peerPool.addPeerNoWait(peer, peer.direction) case res: - of PeerStatus.LowScoreError, PeerStatus.LowCscError, PeerStatus.NoSpaceError: + of PeerStatus.LowScoreError, PeerStatus.NoSpaceError: # Peer has low score or we do not have enough space in PeerPool, # we are going to disconnect it gracefully. # Peer' state will be updated in connection event.