diff --git a/eth/downloader/downloader.go b/eth/downloader/downloader.go index 0f7aad0c0..0b133b596 100644 --- a/eth/downloader/downloader.go +++ b/eth/downloader/downloader.go @@ -577,7 +577,7 @@ func (d *Downloader) syncWithPeer(p *peerConnection, hash common.Hash, blockNumb return err } - canRunCycleInOneTransaction := height-origin < 32 && height-hashStateStageProgress < 32 + canRunCycleInOneTransaction := height-origin < 1024 && height-hashStateStageProgress < 1024 var writeDB ethdb.Database // on this variable will run sync cycle.