Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Cabecinha84 committed Oct 3, 2024
1 parent 16c5923 commit de54b5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ZelBack/src/services/fluxCommunication.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit de54b5f

Please sign in to comment.