eth/downloader: add space

This commit is contained in:
lightclient 2024-03-19 13:04:27 -06:00 committed by GitHub
parent 1bdec68692
commit 5d63f79505
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1579,6 +1579,7 @@ func (d *Downloader) processSnapSyncContent() error {
timer = time.NewTimer(time.Second) timer = time.NewTimer(time.Second)
) )
defer timer.Stop() defer timer.Stop()
for { for {
// Wait for the next batch of downloaded data to be available. If we have // Wait for the next batch of downloaded data to be available. If we have
// not yet reached the pivot point, wait blockingly as there's no need to // not yet reached the pivot point, wait blockingly as there's no need to