Title: "Previous output scriptPubKey mismatch" error Post by: monsterer on December 10, 2013, 11:15:50 AM Hi guys,
I'm using the rawtransactions system in bitcoind to form a transaction which has inputs from two different multi-sig addresses. For each input to sign, I include the scriptpubkey from the relevant source transaction output. This has always worked fine when dealing with a single input, but now there are multiple inputs from different addresess, I'm getting this error: Code: Previous output scriptPubKey mismatch: Any ideas what I'm doing wrong? Cheers, Paul. Title: Re: "Previous output scriptPubKey mismatch" error Post by: monsterer on December 10, 2013, 01:32:39 PM Ok, figured it out.
The error message confused me. Looking at the source code I see the meaning of this message is actually: "The given script pub key for transaction input does not match the one on record". I thought the message was telling me that all inputs must have the same scriptpubkey, which would have been horrible. Cheers, Paul. |