mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
core: track the processed ancient blocks
This commit is contained in:
parent
93d7029756
commit
0f3c1d0d48
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue