Skip to content

Commit

Permalink
core/vm: fix extcodesize op
Browse files Browse the repository at this point in the history
  • Loading branch information
jwasinger committed May 8, 2024
1 parent d47ed0d commit f4b57ed
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/vm/instructions.go
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,6 @@ func opReturnDataCopy(pc *uint64, interpreter *EVMInterpreter, scope *ScopeConte
func opExtCodeSize(pc *uint64, interpreter *EVMInterpreter, scope *ScopeContext) ([]byte, error) {
slot := scope.Stack.peek()
address := slot.Bytes20()
slot.SetUint64(uint64(interpreter.evm.StateDB.GetCodeSize(address)))
if witness := interpreter.evm.StateDB.Witness(); witness != nil {
code := interpreter.evm.StateDB.GetCode(address)
codeHash := interpreter.evm.StateDB.GetCodeHash(address)
Expand Down

0 comments on commit f4b57ed

Please sign in to comment.