mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Update downloader.go
This commit is contained in:
parent
22bf33dc5c
commit
244fe39258
1 changed files with 5 additions and 5 deletions
|
|
@ -1019,9 +1019,9 @@ func (d *Downloader) fetchHeaders(p *peerConnection, from uint64, head uint64) e
|
||||||
pivoting = false // Whether the next request is pivot verification
|
pivoting = false // Whether the next request is pivot verification
|
||||||
ancestor = from
|
ancestor = from
|
||||||
mode = d.getMode()
|
mode = d.getMode()
|
||||||
|
fsHeaderContCheckTimer = time.NewTimer(fsHeaderContCheck)
|
||||||
)
|
)
|
||||||
|
|
||||||
fsHeaderContCheckTimer := time.NewTimer(fsHeaderContCheck)
|
|
||||||
defer fsHeaderContCheckTimer.Stop()
|
defer fsHeaderContCheckTimer.Stop()
|
||||||
|
|
||||||
for {
|
for {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue