mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +00:00
Fix documentation for opcodeInvalid
Change 'opcodeReserved' to 'opcodeInvalid'
This commit is contained in:
parent
d127ad4083
commit
d272bfebb7
@ -833,7 +833,7 @@ func opcodeReserved(op *parsedOpcode, vm *Engine) error {
|
||||
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.
|
||||
func opcodeInvalid(op *parsedOpcode, vm *Engine) error {
|
||||
return ErrStackInvalidOpcode
|
||||
|
Loading…
x
Reference in New Issue
Block a user