fix: returning peerIds in base 64 (#3105)

This commit is contained in:
gabrielmer 2024-10-10 16:53:30 +03:00 committed by GitHub
parent c861fa9f75
commit 37edaf6264
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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("")