diff options
author | zah <zahary@gmail.com> | 2018-11-29 17:57:00 +0800 |
---|---|---|
committer | Martin Holst Swende <martin@swende.se> | 2018-11-29 17:56:59 +0800 |
commit | 55a4ff806fc1c8018055c56abcc6857502447902 (patch) | |
tree | 55c42663ad741780fc0ac54584467091d24ceb29 | |
parent | 7c657fc78957d7ed302eba68bb6122b515364ac4 (diff) | |
download | dexon-55a4ff806fc1c8018055c56abcc6857502447902.tar.gz dexon-55a4ff806fc1c8018055c56abcc6857502447902.tar.zst dexon-55a4ff806fc1c8018055c56abcc6857502447902.zip |
remove a no-op line in the code (#17760)
-rw-r--r-- | les/flowcontrol/control.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/les/flowcontrol/control.go b/les/flowcontrol/control.go index d50eb809c..8ef4ba511 100644 --- a/les/flowcontrol/control.go +++ b/les/flowcontrol/control.go @@ -82,7 +82,6 @@ func (peer *ClientNode) RequestProcessed(cost uint64) (bv, realCost uint64) { time := mclock.Now() peer.recalcBV(time) peer.bufValue -= cost - peer.recalcBV(time) rcValue, rcost := peer.cm.processed(peer.cmNode, time) if rcValue < peer.params.BufLimit { bv := peer.params.BufLimit - rcValue |