Skip to content

Commit

Permalink
not removing disconnected peer from peerStore
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielmer committed Sep 27, 2024
1 parent 87cf6f3 commit 53f8815
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion waku/node/peer_manager/peer_manager.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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()):
Expand Down

0 comments on commit 53f8815

Please sign in to comment.