mirror of https://github.com/status-im/op-geth.git
core/vm: fix typo in instructions.go (#16788)
This commit is contained in:
parent
56de337e57
commit
be22ee8dda
|
@ -850,7 +850,7 @@ func makePush(size uint64, pushByteSize int) executionFunc {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// make push instruction function
|
// make dup instruction function
|
||||||
func makeDup(size int64) executionFunc {
|
func makeDup(size int64) executionFunc {
|
||||||
return func(pc *uint64, evm *EVM, contract *Contract, memory *Memory, stack *Stack) ([]byte, error) {
|
return func(pc *uint64, evm *EVM, contract *Contract, memory *Memory, stack *Stack) ([]byte, error) {
|
||||||
stack.dup(evm.interpreter.intPool, int(size))
|
stack.dup(evm.interpreter.intPool, int(size))
|
||||||
|
|
Loading…
Reference in New Issue