mirror of
https://github.com/arnaucube/go-ethereum.git
synced 2026-02-28 14:06:45 +01:00
downloader: reset hashTtl on receive
This commit is contained in:
@@ -211,6 +211,8 @@ out:
|
||||
for {
|
||||
select {
|
||||
case hashes := <-d.hashCh:
|
||||
failureResponse.Reset(hashTtl)
|
||||
|
||||
var done bool // determines whether we're done fetching hashes (i.e. common hash found)
|
||||
hashSet := set.New()
|
||||
for _, hash := range hashes {
|
||||
|
||||
Reference in New Issue
Block a user