mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 18:02:24 +00:00
fix
This commit is contained in:
parent
da74d43ba0
commit
3f05ad9842
1 changed files with 1 additions and 1 deletions
|
|
@ -140,7 +140,7 @@ func ApplyTransactionWithEVM(msg *Message, gp *GasPool, statedb *state.StateDB,
|
||||||
hooks.OnTxStart(evm.GetVMContext(), tx, msg.From)
|
hooks.OnTxStart(evm.GetVMContext(), tx, msg.From)
|
||||||
}
|
}
|
||||||
if hooks.OnTxEnd != nil {
|
if hooks.OnTxEnd != nil {
|
||||||
defer hooks.OnTxEnd(receipt, err)
|
defer func() { hooks.OnTxEnd(receipt, err) }()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue