Learning-Bitcoin-from-the-Command-Line
Learning-Bitcoin-from-the-Command-Line copied to clipboard
Error in 10_4_Scripting_a_Multisig.md: need $pubkey1 instead of $address1
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