From bfe0bafebca2b11892df1f945df1b69a60c603a4 Mon Sep 17 00:00:00 2001 From: MrMasrozYTLIVE <61359286+MrMasrozYTLIVE@users.noreply.github.com> Date: Mon, 10 Jun 2024 18:23:47 +0300 Subject: [PATCH] I removed all of the debugging code for now to push the fix for app.js --- chatBot/includes/client.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/chatBot/includes/client.js b/chatBot/includes/client.js index 0aa6253..09964f5 100644 --- a/chatBot/includes/client.js +++ b/chatBot/includes/client.js @@ -21,13 +21,6 @@ class Client extends EventEmitter { this.swarm.on('update', () => { console.log(`Peers count: ${this.swarm.connections.size}`); - if(this.swarm.connections.size > 0) { - let peers = [...this.swarm.peers] - for (let peer in peers) { - console.log(peers[peer]) - console.log([peers[peer].topics]); - } - } }); }