mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-04-28 20:32:55 +00:00
remove a no-op line in the code (#17760)
This commit is contained in:
parent
7c657fc789
commit
55a4ff806f
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()
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue