reduce the block number count

pull/4514/head
Diego Nava 1 year ago
parent 1eb1cc4876
commit cdcae9ac12
No known key found for this signature in database
GPG Key ID: 61AFC8738DA8B8B1
  1. 2
      core/preimages.go

@ -221,7 +221,7 @@ func GeneratePreimages(chain BlockChain, start, end uint64) error {
// now execute block T+1 based on starting state // now execute block T+1 based on starting state
for i := startingBlock.NumberU64() + 1; i <= end; i++ { for i := startingBlock.NumberU64() + 1; i <= end; i++ {
if i%100000 == 0 { if i%10000 == 0 {
fmt.Println("processing block", i) fmt.Println("processing block", i)
} }
block := chain.GetBlockByNumber(i) block := chain.GetBlockByNumber(i)

Loading…
Cancel
Save