Skip to content

Commit

Permalink
Fix documentation for opcodeInvalid
Browse files Browse the repository at this point in the history
Change 'opcodeReserved' to 'opcodeInvalid'
  • Loading branch information
Kefkius authored and jcvernaleo committed Feb 12, 2016
1 parent 1e22c04 commit 7e1e205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion txscript/opcode.go
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,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
Expand Down

0 comments on commit 7e1e205

Please sign in to comment.