diff --git a/core/blockchain.go b/core/blockchain.go index e8ea11e344..1ec98a09b4 100644 --- a/core/blockchain.go +++ b/core/blockchain.go @@ -2261,7 +2261,7 @@ func (bc *BlockChain) insertChain(chain types.Blocks, setHead bool) (int, error) snapDiffItems, snapBufItems, _ = bc.snaps.Size() } trieDiffNodes, trieBufNodes, trieImmutableBufNodes, _ := bc.triedb.Size() - stats.report(chain, it.index, snapDiffItems, snapBufItems, trieDiffNodes, trieBufNodes, trieImmutableBufNodes, setHead) + stats.report(chain, it.index, snapDiffItems, snapBufItems, trieDiffNodes, trieBufNodes, trieImmutableBufNodes, status == CanonStatTy) if !setHead { // After merge we expect few side chains. Simply count