mirror of
https://github.com/bitcoinbook/bitcoinbook
synced 2025-02-22 20:42:09 +00:00
Edited ch07.asciidoc with Atlas code editor
This commit is contained in:
parent
13fe9973b4
commit
8b4c91032c
@ -46,7 +46,7 @@ When executed, this combined script will evaluate to TRUE if, and only if, the u
|
||||
[[multisig_bug]]
|
||||
===== A bug in CHECKMULTISIG execution
|
||||
|
||||
((("scripting", "multisgnature scripts", "CHECKMULTISIG bug")))((("CHECKMULTISIG bug workaround")))There is a bug in ++CHECKMULTISIG++'s execution that requires a slight workaround. When +CHECKMULTISIG+ executes, it should consume M+N+2 items on the stack as parameters. However, due to the bug, +CHECKMULTISIG+ will pop an extra value or one value more than expected.
|
||||
((("scripting", "multisignature scripts", "CHECKMULTISIG bug")))((("CHECKMULTISIG bug workaround")))There is a bug in ++CHECKMULTISIG++'s execution that requires a slight workaround. When +CHECKMULTISIG+ executes, it should consume M+N+2 items on the stack as parameters. However, due to the bug, +CHECKMULTISIG+ will pop an extra value or one value more than expected.
|
||||
|
||||
Let's look at this in greater detail using the previous validation example:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user