increase tx limit (#1047)

This commit is contained in:
Alex Sharov 2020-09-08 13:09:33 +07:00 committed by GitHub
parent 256e4262e1
commit 50d13fd9a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.