diff --git a/chatBot/includes/client.js b/chatBot/includes/client.js index 2c7a0b9..aa2532a 100644 --- a/chatBot/includes/client.js +++ b/chatBot/includes/client.js @@ -25,9 +25,7 @@ class Client extends EventEmitter { this.swarm.peers.forEach((peerInfo, peer) => { console.log(`Peer ${[peer]} is in topic(s) [${[peerInfo.topics].filter(topic => topic).map(topic => { - console.log(topic) - return "test" - // b4a.toString(topic, 'hex') + console.log(topic.map(top => b4a.toString(top, 'hex'))) }).join(", ")}]`); }); });