From a93aff789ed6193cd0649330e6470903027199f1 Mon Sep 17 00:00:00 2001 From: DarshanBPatel Date: Wed, 18 Dec 2024 04:32:45 +0530 Subject: [PATCH] chore: better exception --- waku/factory/builder.nim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/waku/factory/builder.nim b/waku/factory/builder.nim index f4fdd8345..939a35f54 100644 --- a/waku/factory/builder.nim +++ b/waku/factory/builder.nim @@ -203,6 +203,8 @@ proc build*(builder: WakuNodeBuilder): Result[WakuNode, string] = let peerManager = PeerManager.new( switch = switch, storage = builder.peerStorage.get(nil), + maxRelayPeers = builder.maxRelayPeers, + maxServicePeers = builder.maxServicePeers, colocationLimit = builder.colocationLimit, shardedPeerManagement = builder.shardAware, )