mirror of
https://github.com/threefoldtech/mycelium.git
synced 2026-05-26 02:14:13 +00:00
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Return actuall amount of bytes sent to peers instead of the amount of bytes received
|
||||
from them.
|
||||
|
||||
## [0.6.2] - 2025-09-19
|
||||
|
||||
**IMPORTANT**
|
||||
|
||||
@@ -146,7 +146,7 @@ impl PeerInfo {
|
||||
/// Return the amount of bytes written to this peer.
|
||||
#[inline]
|
||||
fn written(&self) -> u64 {
|
||||
self.con_traffic.rx_bytes.load(Ordering::Relaxed)
|
||||
self.con_traffic.tx_bytes.load(Ordering::Relaxed)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user