From 2ca07e46c3c6202957e6c37c281d07e20795399d Mon Sep 17 00:00:00 2001 From: MrMasrozYTLIVE <61359286+MrMasrozYTLIVE@users.noreply.github.com> Date: Mon, 10 Jun 2024 21:11:46 +0300 Subject: [PATCH] so topics in .map() are array. Is it array that always has only one buffer or can have lots of them??? --- chatBot/includes/client.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chatBot/includes/client.js b/chatBot/includes/client.js index d03d411..2c7a0b9 100644 --- a/chatBot/includes/client.js +++ b/chatBot/includes/client.js @@ -26,7 +26,8 @@ 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) - b4a.toString(topic, 'hex') + return "test" + // b4a.toString(topic, 'hex') }).join(", ")}]`); }); });