diff --git a/chatBot/includes/client.js b/chatBot/includes/client.js index 335767e..566f564 100644 --- a/chatBot/includes/client.js +++ b/chatBot/includes/client.js @@ -24,8 +24,8 @@ class Client extends EventEmitter { if(this.swarm.connections.size > 0) { let arr = []; [...this.swarm.peers].forEach(peer => arr.push([peer.topics])); + console.log([...this.swarm.peers]) console.log(arr); - process.exit(-1); } }); }