core/vm: fix typo in instructions.go (#16788)

This commit is contained in:
Abel Nieto 2018-05-23 14:02:10 +02:00 committed by Péter Szilágyi
parent 56de337e57
commit be22ee8dda
1 changed files with 1 additions and 1 deletions

View File

@ -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))