core: fix compile

This commit is contained in:
Gary Rong 2025-05-13 19:54:48 +08:00
parent 78f154b170
commit 15eef92db5

View file

@ -1838,7 +1838,7 @@ func (bc *BlockChain) insertChain(chain types.Blocks, setHead bool, makeWitness
stats.report(chain, it.index, snapDiffItems, snapBufItems, trieDiffNodes, trieBufNodes, setHead)
// Print confirmation that a future fork is scheduled, but not yet active.
bc.logForkReadiness()
bc.logForkReadiness(block)
if !setHead {
// After merge we expect few side chains. Simply count