diff --git a/core/blockchain.go b/core/blockchain.go index 960966a72..f0cdba0ab 100644 --- a/core/blockchain.go +++ b/core/blockchain.go @@ -1335,11 +1335,9 @@ func (bc *BlockChain) writeBlockWithState(block *types.Block, receipts []*types. // canonicial blocks. Avoid firing too much ChainHeadEvents, // we will fire an accumulated ChainHeadEvent and disable fire // event here. - - // restore if fast sync is needed - // if emitHeadEvent { - // bc.chainHeadFeed.Send(ChainHeadEvent{Block: block}) - // } + if emitHeadEvent { + bc.chainHeadFeed.Send(ChainHeadEvent{Block: block}) + } } else { bc.chainSideFeed.Send(ChainSideEvent{Block: block}) }