From d272bfebb74eaaf26214d9b473acf4aa8efb9ae4 Mon Sep 17 00:00:00 2001 From: Kefkius Date: Thu, 11 Feb 2016 18:31:40 -0500 Subject: [PATCH] Fix documentation for opcodeInvalid Change 'opcodeReserved' to 'opcodeInvalid' --- txscript/opcode.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/txscript/opcode.go b/txscript/opcode.go index 6c42bcd9..6d2c0e18 100644 --- a/txscript/opcode.go +++ b/txscript/opcode.go @@ -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