Post
Topic
Board Development & Technical Discussion
Re: scriptPubKey not verified upon locking, but when trying to unlock it
by
pgmforever
on 02/11/2018, 11:34:30 UTC
if there was a wrong signature it would say so, wouldnt it?

Easy to check! Let me change one bit in my original transaction and try to food the cleint!

13:10:10
sendrawtransaction 0100000001d1476990d24f7a3edcef4417a05f71ce682c219acfd1e7e9f795d32860ef4ea400000 0008f0046304302202d3f09...

13:10:10
16: mandatory-script-verify-flag-failed (Data push larger than necessary) (code -26)


So, you did at least two mistakes: (1) wrong opcodes were used (2) wrong signing  Grin

Quote
but the error the client would give me is exactly the one i quoted
Handling errors - is not the best of Core Programmers. They are too smart to do errors.  Grin

Haha this is really funny. I wasn't expecting it  Grin

How do you sign a multisignature input? Have the same hash signed with different private keys right?