Skip to content

Commit

Permalink
chore: erase shilly mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
darshankabariya committed Sep 25, 2024
1 parent 0e28a70 commit 20cd4f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions waku/node/peer_manager/waku_peer_store.nim
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ type
# Stores ENR records
ENRBook* = ref object of PeerBook[enr.Record]

# Basic setter and getter methods for peer attributes
# Basic setter and getter methods for store attributes
proc setAddresses*(store: PeerStore, peerId: PeerId, addrs: seq[MultiAddress]) =
store[AddressBook][peerId] = addrs

Expand Down Expand Up @@ -231,4 +231,4 @@ proc getPeersByCapability*(
peerStore: PeerStore, cap: Capabilities
): seq[RemotePeerInfo] =
return
peerStore.peers.filterIt(it.enr.isSome() and it.enr.get().supportsCapability(cap)):wait
peerStore.peers.filterIt(it.enr.isSome() and it.enr.get().supportsCapability(cap))

0 comments on commit 20cd4f0

Please sign in to comment.