mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-08 07:58:40 +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 {
|
||||
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 (
|
||||
hashes []common.Hash
|
||||
bytes uint64
|
||||
|
|
|
|||
Loading…
Reference in a new issue