Skip to content

Conversation

galexo
Copy link

@galexo galexo commented Jul 30, 2025

The value of bytes_received was added to itself at every loop step:

bytes_received += bytes_received + node.bytes_received
bytes_sent = bytes_sent + node.bytes_sent

Changed it so it correctly adds only the nodes.bytes_received value and also changed the next line for consistency:

bytes_received += node.bytes_received
bytes_sent += node.bytes_sent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant