fix: 4.0.0 bookkeeping of protocol overhead when receiving peer messages (#5091)

This commit is contained in:
Charles Kerr 2023-02-27 20:25:15 -06:00 committed by GitHub
parent e9eb70b50f
commit 1a276fb145
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -373,7 +373,7 @@ void tr_peerIo::can_read_wrapper()
if (overhead > 0)
{
bandwidth().notifyBandwidthConsumed(TR_UP, overhead, false, now);
bandwidth().notifyBandwidthConsumed(TR_DOWN, overhead, false, now);
}
switch (read_state)