mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
remove a no-op line in the code
This commit is contained in:
parent
d3441ebb56
commit
05d4fda9e7
1 changed files with 0 additions and 1 deletions
|
|
@ -82,7 +82,6 @@ func (peer *ClientNode) RequestProcessed(cost uint64) (bv, realCost uint64) {
|
||||||
time := mclock.Now()
|
time := mclock.Now()
|
||||||
peer.recalcBV(time)
|
peer.recalcBV(time)
|
||||||
peer.bufValue -= cost
|
peer.bufValue -= cost
|
||||||
peer.recalcBV(time)
|
|
||||||
rcValue, rcost := peer.cm.processed(peer.cmNode, time)
|
rcValue, rcost := peer.cm.processed(peer.cmNode, time)
|
||||||
if rcValue < peer.params.BufLimit {
|
if rcValue < peer.params.BufLimit {
|
||||||
bv := peer.params.BufLimit - rcValue
|
bv := peer.params.BufLimit - rcValue
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue