mirror of https://github.com/waku-org/nwaku.git
fix: returning peerIds in base 64 (#3105)
This commit is contained in:
parent
c861fa9f75
commit
37edaf6264
|
@ -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("")
|
||||
|
|
Loading…
Reference in New Issue