Wrapper around ProduceSignature to combine two scriptsigs */
| 1260 | |
| 1261 | /* Wrapper around ProduceSignature to combine two scriptsigs */ |
| 1262 | SignatureData CombineSignatures(const CTxOut& txout, const CMutableTransaction& tx, const SignatureData& scriptSig1, const SignatureData& scriptSig2) |
| 1263 | { |
| 1264 | SignatureData data; |
| 1265 | data.MergeSignatureData(scriptSig1); |
| 1266 | data.MergeSignatureData(scriptSig2); |
| 1267 | ProduceSignature(DUMMY_SIGNING_PROVIDER, MutableTransactionSignatureCreator(tx, 0, txout.nValue, {.sighash_type = SIGHASH_DEFAULT}), txout.scriptPubKey, data); |
| 1268 | return data; |
| 1269 | } |
| 1270 | |
| 1271 | BOOST_AUTO_TEST_CASE(script_combineSigs) |
| 1272 | { |
no test coverage detected