core/vm: fix typo in instructions.go

This commit is contained in:
Abel Nieto 2018-05-23 12:15:47 +02:00
parent 6ce21a4744
commit a5ebff1b7d

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 {
return func(pc *uint64, evm *EVM, contract *Contract, memory *Memory, stack *Stack) ([]byte, error) {
stack.dup(evm.interpreter.intPool, int(size))