downloader: reset hashTtl on receive

pull/749/head
obscuren 10 years ago
parent 71aa5fe8a3
commit 86ecdcd5ff
  1. 2
      eth/downloader/downloader.go

@ -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 {

Loading…
Cancel
Save