Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
jsvisa 2025-05-28 08:05:18 +00:00
parent 0e2abd6b60
commit a6f31d86c2

View file

@ -1652,7 +1652,7 @@ func (bc *BlockChain) writeBlockWithState(block *types.Block, receipts []*types.
} }
func (bc *BlockChain) handleStateUpdates(block *types.Block, update *state.StateUpdate) { func (bc *BlockChain) handleStateUpdates(block *types.Block, update *state.StateUpdate) {
if bc.logger == nil || bc.logger.OnStateCommit != nil { if bc.logger == nil || bc.logger.OnStateCommit == nil {
return return
} }