diff --git a/core/blockchain.go b/core/blockchain.go index c0fd15e776..07bd8ee880 100644 --- a/core/blockchain.go +++ b/core/blockchain.go @@ -2136,7 +2136,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