Wrapper around ProduceSignature to combine two scriptsigs */
| 1200 | |
| 1201 | /* Wrapper around ProduceSignature to combine two scriptsigs */ |
| 1202 | SignatureData CombineSignatures(const CTxOut& txout, const CMutableTransaction& tx, const SignatureData& scriptSig1, const SignatureData& scriptSig2) |
| 1203 | { |
| 1204 | SignatureData data; |
| 1205 | data.MergeSignatureData(scriptSig1); |
| 1206 | data.MergeSignatureData(scriptSig2); |
| 1207 | ProduceSignature(DUMMY_SIGNING_PROVIDER, MutableTransactionSignatureCreator(&tx, 0, txout.nValue, SIGHASH_DEFAULT), txout.scriptPubKey, data); |
| 1208 | return data; |
| 1209 | } |
| 1210 | |
| 1211 | BOOST_AUTO_TEST_CASE(script_combineSigs) |
| 1212 | { |
no test coverage detected