Skip to content

Commit 446fa03

Browse files
authored
chore: fix cherry-pick conflict (#278)
1 parent 38c73eb commit 446fa03

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

core/blockchain.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2252,10 +2252,7 @@ func (bc *BlockChain) insertChain(chain types.Blocks, setHead bool) (int, error)
22522252
snapDiffItems, snapBufItems = bc.snaps.Size()
22532253
}
22542254

2255-
var trieDiffNodes, trieBufNodes, trieImmutableBufNodes common.StorageSize
2256-
if !minerMode {
2257-
trieDiffNodes, trieBufNodes, trieImmutableBufNodes, _ = bc.triedb.Size()
2258-
}
2255+
trieDiffNodes, trieBufNodes, trieImmutableBufNodes, _ := bc.triedb.Size()
22592256
stats.report(chain, it.index, snapDiffItems, snapBufItems, trieDiffNodes, trieBufNodes, trieImmutableBufNodes, setHead)
22602257
blockGasUsedGauge.Update(int64(block.GasUsed()) / 1000000)
22612258

0 commit comments

Comments
 (0)