mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 21:56:43 +00:00
fix
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
parent
0e2abd6b60
commit
a6f31d86c2
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue