Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
s1na committed Nov 28, 2024
1 parent da74d43 commit 3f05ad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/state_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func ApplyTransactionWithEVM(msg *Message, gp *GasPool, statedb *state.StateDB,
hooks.OnTxStart(evm.GetVMContext(), tx, msg.From)
}
if hooks.OnTxEnd != nil {
defer hooks.OnTxEnd(receipt, err)
defer func() { hooks.OnTxEnd(receipt, err) }()
}
}

Expand Down

0 comments on commit 3f05ad9

Please sign in to comment.