mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-08 09:11:34 +00:00
core/vm: fix typo in instructions.go (#16788)
This commit is contained in:
parent
56de337e57
commit
be22ee8dda
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue