mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-23 12:07:17 +00:00
downloader: reset hashTtl on receive
This commit is contained in:
parent
71aa5fe8a3
commit
86ecdcd5ff
@ -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…
Reference in New Issue
Block a user