From de54b5fe5a873ed7a9e848cdf1a5c9e29050065f Mon Sep 17 00:00:00 2001 From: Cabecinha84 Date: Thu, 3 Oct 2024 11:30:47 +0100 Subject: [PATCH] test --- ZelBack/src/services/fluxCommunication.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ZelBack/src/services/fluxCommunication.js b/ZelBack/src/services/fluxCommunication.js index 5e3c5af5f..fb980e941 100644 --- a/ZelBack/src/services/fluxCommunication.js +++ b/ZelBack/src/services/fluxCommunication.js @@ -378,6 +378,7 @@ function handleIncomingConnection(websocket, optionalPort) { } incomingConnections.push(ws); incomingPeers.push(peer); + log.info(JSON.stringify(ws)); // verify data integrity, if not signed, close connection ws.onmessage = async (msg) => { @@ -712,7 +713,6 @@ async function initiateAndHandleConnection(connection) { latency: null, }; outgoingPeers.push(peer); - log.info(JSON.stringify(websocket)); }; // every time a ping is sent a pong as received, measure latency