diff options
Diffstat (limited to 'src/script.h')
-rw-r--r-- | src/script.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/script.h b/src/script.h index fd5b12921e..0ab47678e8 100644 --- a/src/script.h +++ b/src/script.h @@ -543,6 +543,10 @@ public: opcodetype opcode; if (!GetOp(pc, opcode)) return false; + // Note that IsPushOnly() *does* consider OP_RESERVED to be a + // push-type opcode, however execution of OP_RESERVED fails, so + // it's not relevant to P2SH as the scriptSig would fail prior to + // the P2SH special validation code being executed. if (opcode > OP_16) return false; } |