From 53f881547fdddad351dbdfb304deaafb2ec55cc0 Mon Sep 17 00:00:00 2001 From: Gabriel mermelstein Date: Fri, 27 Sep 2024 18:52:30 +0300 Subject: [PATCH] not removing disconnected peer from peerStore --- waku/node/peer_manager/peer_manager.nim | 1 - 1 file changed, 1 deletion(-) diff --git a/waku/node/peer_manager/peer_manager.nim b/waku/node/peer_manager/peer_manager.nim index 8fbac54625..67fd0159b6 100644 --- a/waku/node/peer_manager/peer_manager.nim +++ b/waku/node/peer_manager/peer_manager.nim @@ -445,7 +445,6 @@ proc onPeerEvent(pm: PeerManager, peerId: PeerId, event: PeerEvent) {.async.} = inRelayPeersTarget = pm.inRelayPeersTarget await pm.switch.disconnect(peerId) - pm.wakuPeerStore.delete(peerId) ## Apply max ip colocation limit if (let ip = pm.getPeerIp(peerId); ip.isSome()):