Skip to content

Commit

Permalink
core: track the processed ancient blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
rjl493456442 committed Dec 21, 2023
1 parent c15bd66 commit 9e73805
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/blockchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -1243,6 +1243,7 @@ func (bc *BlockChain) InsertReceiptChain(blockChain types.Blocks, receiptChain [
if err := batch.Write(); err != nil {
return 0, err
}
stats.processed += int32(len(blockChain))
return 0, nil
}

Expand Down

0 comments on commit 9e73805

Please sign in to comment.