core/vm: improve push0

This commit is contained in:
Marius van der Wijden 2024-11-06 02:42:25 +01:00
parent f237940141
commit aead114336

View file

@ -236,7 +236,7 @@ func enable3855(jt *JumpTable) {
// opPush0 implements the PUSH0 opcode // opPush0 implements the PUSH0 opcode
func opPush0(pc *uint64, interpreter *EVMInterpreter, scope *ScopeContext) ([]byte, error) { func opPush0(pc *uint64, interpreter *EVMInterpreter, scope *ScopeContext) ([]byte, error) {
scope.Stack.push(new(uint256.Int)) scope.Stack.pushU64(0)
return nil, nil return nil, nil
} }