Fix documentation for opcodeInvalid
Change 'opcodeReserved' to 'opcodeInvalid'
This commit is contained in:
parent
d127ad4083
commit
d272bfebb7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue