From e7e02b5f0377311a2c7bb8c5bcf25808434edc5d Mon Sep 17 00:00:00 2001 From: Billie Hilton <587740+billiegoose@users.noreply.github.com> Date: Fri, 5 Jul 2024 16:34:00 -0400 Subject: [PATCH] cleanup --- test/manual/measure-reconnect.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/manual/measure-reconnect.js b/test/manual/measure-reconnect.js index 6073cf7..a1b6f8b 100644 --- a/test/manual/measure-reconnect.js +++ b/test/manual/measure-reconnect.js @@ -39,9 +39,8 @@ swarm.dht.on('network-change', () => { let connected = false swarm.on('connection', async (conn) => { - console.log(conn.rawStream.remoteHost) - console.log(conn.rawStream.remotePort) - console.log(conn.relay) + console.log(conn.rawStream.remoteHost + ':' + conn.rawStream.remotePort) + console.log('conn.relay', conn.relay) conn.on('relay', (...args) => console.log('relay:', ...args)) conn.on('error', (...args) => console.log('error:', ...args)) conn.on('close', (...args) => console.log('close:', ...args))