From 230cdd1321e6deb1f6ba3d53ddc3a6faf0282b43 Mon Sep 17 00:00:00 2001 From: MrMasrozYTLIVE <61359286+MrMasrozYTLIVE@users.noreply.github.com> Date: Mon, 10 Jun 2024 20:58:59 +0300 Subject: [PATCH] Huh? Is it actually inverted?? --- chatBot/includes/client.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chatBot/includes/client.js b/chatBot/includes/client.js index 69e2ae6..d55aa8c 100644 --- a/chatBot/includes/client.js +++ b/chatBot/includes/client.js @@ -24,8 +24,8 @@ class Client extends EventEmitter { this.swarm.peers.forEach((peer, peerInfo) => { console.log([peer]); - console.log([peerInfo.topics]); - console.log(`Peer ${[peer]} is in topic(s) ${[peerInfo.topics].filter(topic => topic).map(topic => topic.toString('hex'))}`); + console.log([peerInfo]); + console.log(`Peer ${[peer]} is in topic(s) ${[peer.topics].filter(topic => topic).map(topic => topic.toString('hex'))}`); }); }); }