From eb617de9aca48c0b3f4c567457336c8b98aa0cb2 Mon Sep 17 00:00:00 2001 From: DarshanBPatel Date: Wed, 18 Dec 2024 12:14:37 +0530 Subject: [PATCH] chore: lint issue --- waku/node/peer_manager/peer_manager.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waku/node/peer_manager/peer_manager.nim b/waku/node/peer_manager/peer_manager.nim index 4c0864357..2754448f7 100644 --- a/waku/node/peer_manager/peer_manager.nim +++ b/waku/node/peer_manager/peer_manager.nim @@ -995,7 +995,7 @@ proc new*( let (relayRatio, serviceRatio) = relayServiceRatio.get var relayPeers = int(ceil(float(maxConnections) * relayRatio)) - var servicePeers = int(floor(float(maxConnections) * serviceRatio)) + var servicePeers = int(floor(float(maxConnections) * serviceRatio)) if maxRelayPeers.isSome() or maxServicePeers.isSome(): if maxRelayPeers.isSome() and maxServicePeers.isSome():