mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 15:16:43 +00:00
core/vm: fix nitpick
This commit is contained in:
parent
0e115ad457
commit
4de62ae04c
1 changed files with 1 additions and 3 deletions
|
|
@ -142,11 +142,9 @@ func opEOFCreate(pc *uint64, interpreter *EVMInterpreter, scope *ScopeContext) (
|
|||
if ok := scope.Contract.UseGas(hashingCharge, interpreter.evm.Config.Tracer, tracing.GasChangeUnspecified); !ok {
|
||||
return nil, ErrGasUintOverflow
|
||||
}
|
||||
if interpreter.evm.Config.Tracer != nil {
|
||||
if interpreter.evm.Config.Tracer != nil {
|
||||
interpreter.evm.Config.Tracer.OnOpcode(*pc, byte(EOFCREATE), 0, hashingCharge, scope, interpreter.returnData, interpreter.evm.depth, nil)
|
||||
}
|
||||
}
|
||||
gas := scope.Contract.Gas
|
||||
// Reuse last popped value from stack
|
||||
stackvalue := size
|
||||
|
|
|
|||
Loading…
Reference in a new issue