From 576493e718d5067cc43e9dbae41e1a7e1338accc Mon Sep 17 00:00:00 2001 From: Martin Harrigan Date: Fri, 26 Jun 2020 15:19:08 +0100 Subject: [PATCH] The workaround requires an extra element on the stack; OP_NOP does nothing --- appdx-scriptops.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appdx-scriptops.asciidoc b/appdx-scriptops.asciidoc index 915d8c29..2ad1ef56 100644 --- a/appdx-scriptops.asciidoc +++ b/appdx-scriptops.asciidoc @@ -168,7 +168,7 @@ Tables and descriptions sourced from https://en.bitcoin.it/wiki/Script[]. | OP_CODESEPARATOR | 0xab | Mark the beginning of signature-checked data | OP_CHECKSIG | 0xac | Pop a public key and signature and validate the signature for the transaction's hashed data, return TRUE if matching | OP_CHECKSIGVERIFY | 0xad | Same as CHECKSIG, then OP_VERIFY to halt if not TRUE -| OP_CHECKMULTISIG | 0xae | Run CHECKSIG for each pair of signature and public key provided. All must match. Bug in implementation pops an extra value, prefix with OP_NOP as workaround +| OP_CHECKMULTISIG | 0xae | Run CHECKSIG for each pair of signature and public key provided. All must match. Bug in implementation pops an extra value, prefix with OP_0 as workaround | OP_CHECKMULTISIGVERIFY | 0xaf | Same as CHECKMULTISIG, then OP_VERIFY to halt if not TRUE |=======