diff --git a/waku/node/peer_manager/waku_peer_store.nim b/waku/node/peer_manager/waku_peer_store.nim index 9e5705a57d..db00a3bd59 100644 --- a/waku/node/peer_manager/waku_peer_store.nim +++ b/waku/node/peer_manager/waku_peer_store.nim @@ -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 @@ -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 \ No newline at end of file + peerStore.peers.filterIt(it.enr.isSome() and it.enr.get().supportsCapability(cap)) \ No newline at end of file