Fix documentation for opcodeInvalid

Change 'opcodeReserved' to 'opcodeInvalid'
This commit is contained in:
Kefkius 2016-02-11 18:31:40 -05:00 committed by Dave Collins
parent d127ad4083
commit d272bfebb7

View file

@ -833,7 +833,7 @@ func opcodeReserved(op *parsedOpcode, vm *Engine) error {
return ErrStackReservedOpcode return ErrStackReservedOpcode
} }
// opcodeReserved is a common handler for all invalid opcodes. It returns an // opcodeInvalid is a common handler for all invalid opcodes. It returns an
// appropriate error indicating the opcode is invalid. // appropriate error indicating the opcode is invalid.
func opcodeInvalid(op *parsedOpcode, vm *Engine) error { func opcodeInvalid(op *parsedOpcode, vm *Engine) error {
return ErrStackInvalidOpcode return ErrStackInvalidOpcode