mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-19 11:20:45 +00:00
core/vm: don't discard error
This commit is contained in:
parent
3462394cb5
commit
ea650e7d40
1 changed files with 1 additions and 1 deletions
|
|
@ -524,7 +524,7 @@ func (evm *EVM) create(caller common.Address, code []byte, gas GasBudget, value
|
|||
// Since Amsterdam, the precheck has been folded into the parent frame
|
||||
// due to account-creation determination, so skip the duplicate check here.
|
||||
if !evm.chainRules.IsAmsterdam {
|
||||
evm.createFramePreCheck(caller, value)
|
||||
err = evm.createFramePreCheck(caller, value)
|
||||
}
|
||||
if evm.Config.Tracer != nil {
|
||||
evm.captureBegin(evm.depth, typ, caller, address, code, gas, value.ToBig())
|
||||
|
|
|
|||
Loading…
Reference in a new issue