From 6bd063a91771b085a9a850dd257afe29de8b07e8 Mon Sep 17 00:00:00 2001 From: meejah Date: Sun, 9 May 2021 23:40:18 -0600 Subject: [PATCH] clarify --- src/wormhole_transit_relay/usage.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/wormhole_transit_relay/usage.py b/src/wormhole_transit_relay/usage.py index 61bf308..92f8e35 100644 --- a/src/wormhole_transit_relay/usage.py +++ b/src/wormhole_transit_relay/usage.py @@ -178,6 +178,9 @@ class UsageTracker(object): total_time = finished - started waiting_time = None total_bytes = bytes_sent + # note that "bytes_sent" should always be 0 here, but + # we're recording what the state-machine remembered in any + # case if self._blur_usage: started = self._blur_usage * (started // self._blur_usage)