Learning-Bitcoin-from-the-Command-Line icon indicating copy to clipboard operation
Learning-Bitcoin-from-the-Command-Line copied to clipboard

Error in 10_4_Scripting_a_Multisig.md: need $pubkey1 instead of $address1

Open Gilbog opened this issue 11 months ago • 0 comments

In 10_4_Scripting_a_Multisig.md, the multisig scriptPubkey is described as containing $address1, $address2

I think that's a mistake: The scriptPubKey contains $pubkey1, $pubkey2

OP_CHECKMULTISIG cannot check $signature1 against $address1, but needs $pubkey1

See also https://en.bitcoin.it/wiki/OP_CHECKMULTISIG or https://bitcoin.stackexchange.com/questions/40669/checkmultisig-a-worked-out-example

Gilbog avatar Jul 16 '23 18:07 Gilbog