Skip to content

Commit

Permalink
Remove console.logs
Browse files Browse the repository at this point in the history
  • Loading branch information
muXxer committed Apr 22, 2024
1 parent 45fa934 commit 74ac365
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/app/routes/Peers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ class Peers extends AsyncComponent<RouteComponentProps, PeersState> {
if (peer && finalPeerIds.has(peer.id)) {
const address = DataHelper.formatPeerAddress(peer);
if (!peers[peer.id]) {
console.log("Adding peer", peer.id);
peers[peer.id] = {
id: peer.id,
address: "",
Expand Down Expand Up @@ -128,10 +127,6 @@ class Peers extends AsyncComponent<RouteComponentProps, PeersState> {

peers[peer.id].receivedPacketsDiff = [];
for (let i = 1; i < peers[peer.id].receivedPacketsTotal.length; i++) {
console.log("newblocks length peer", peer.id, peers[peer.id].receivedPacketsTotal.length, Math.max(
peers[peer.id].receivedPacketsTotal[i] -
peers[peer.id].receivedPacketsTotal[i - 1]
, 0));
peers[peer.id].receivedPacketsDiff.push(
Math.max(
peers[peer.id].receivedPacketsTotal[i] -
Expand Down

0 comments on commit 74ac365

Please sign in to comment.