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
|
|
@ -1015,13 +1015,13 @@ func (d *Downloader) fetchHeaders(p *peerConnection, from uint64, head uint64) e
|
||||||
|
|
||||||
// Start pulling the header chain skeleton until all is done
|
// Start pulling the header chain skeleton until all is done
|
||||||
var (
|
var (
|
||||||
skeleton = true // Skeleton assembly phase or finishing up
|
skeleton = true // Skeleton assembly phase or finishing up
|
||||||
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