Post
Topic
Board Development & Technical Discussion
Re: scriptPubKey not verified upon locking, but when trying to unlock it
by
amaclin1
on 02/11/2018, 12:07:29 UTC
How do you sign a multisignature input? Have the same hash signed with different private keys right?
Yes. But remember - the scriptPubkey is used "as is" while creating hash (digest)
If you have 01-02-pub-pub-pub-01-03-chkmsig - you must use the same byte array.

And it is better to use p2sh-version for multisignature purposes.