mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-10 08:51:38 +00:00
Update eth/fetcher/tx_fetcher.go
Co-authored-by: jwasinger <j-wasinger@hotmail.com>
This commit is contained in:
parent
a835267289
commit
a86eaceda0
1 changed files with 0 additions and 2 deletions
|
|
@ -991,8 +991,6 @@ func (f *TxFetcher) scheduleFetches(timer *mclock.Timer, timeout chan struct{},
|
||||||
if len(f.announces[peer]) == 0 {
|
if len(f.announces[peer]) == 0 {
|
||||||
return // continue in the for-each
|
return // continue in the for-each
|
||||||
}
|
}
|
||||||
// hashes is allocated lazily: peers that collect no new hashes
|
|
||||||
// (all announces already being fetched) skip the 8KB allocation.
|
|
||||||
var (
|
var (
|
||||||
hashes []common.Hash
|
hashes []common.Hash
|
||||||
bytes uint64
|
bytes uint64
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue