From 37edaf6264e9bbe3a897820120b7d35da2de3ecf Mon Sep 17 00:00:00 2001 From: gabrielmer <101006718+gabrielmer@users.noreply.github.com> Date: Thu, 10 Oct 2024 16:53:30 +0300 Subject: [PATCH] fix: returning peerIds in base 64 (#3105) --- .../requests/peer_manager_request.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/waku_thread/inter_thread_communication/requests/peer_manager_request.nim b/library/waku_thread/inter_thread_communication/requests/peer_manager_request.nim index 189b490ad0..5736d25421 100644 --- a/library/waku_thread/inter_thread_communication/requests/peer_manager_request.nim +++ b/library/waku_thread/inter_thread_communication/requests/peer_manager_request.nim @@ -83,6 +83,6 @@ proc process*( ## returns a comma-separated string of peerIDs that mount the given protocol let (inPeers, outPeers) = waku.node.peerManager.connectedPeers($self[].protocol) let allPeerIDs = inPeers & outPeers - return ok(allPeerIDs.mapIt(it.hex()).join(",")) + return ok(allPeerIDs.join(",")) return ok("")