mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
fix
This commit is contained in:
parent
b8d64aa30a
commit
24bd5c95e5
1 changed files with 0 additions and 4 deletions
|
|
@ -175,10 +175,6 @@ func (r *resultStore) GetCompleted(limit int) []*fetchResult {
|
|||
limit = completed
|
||||
}
|
||||
|
||||
var totalSize int
|
||||
for i := 0; i < limit; i++ {
|
||||
totalSize += r.items[i].Size()
|
||||
}
|
||||
r.pendingCount -= limit
|
||||
pendingBodyGauge.Update(int64(r.pendingCount))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue