diff options
| author | Pieter Wuille <[email protected]> | 2015-01-27 09:28:45 -0400 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2015-02-02 20:19:12 -0800 |
| commit | 858809a33e4f690c4ad213f44a6c4465fc2ef025 (patch) | |
| tree | a7b1dad512fb2040431a92f50b2131c0a872d088 /src/bitcoin-tx.cpp | |
| parent | Merge pull request #5731 (diff) | |
| download | discoin-858809a33e4f690c4ad213f44a6c4465fc2ef025.tar.xz discoin-858809a33e4f690c4ad213f44a6c4465fc2ef025.zip | |
Use separate SignatureChecker for CMutableTransaction
Diffstat (limited to 'src/bitcoin-tx.cpp')
| -rw-r--r-- | src/bitcoin-tx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoin-tx.cpp b/src/bitcoin-tx.cpp index 01ace1e2b..ff409d741 100644 --- a/src/bitcoin-tx.cpp +++ b/src/bitcoin-tx.cpp @@ -436,7 +436,7 @@ static void MutateTxSign(CMutableTransaction& tx, const string& flagStr) BOOST_FOREACH(const CTransaction& txv, txVariants) { txin.scriptSig = CombineSignatures(prevPubKey, mergedTx, i, txin.scriptSig, txv.vin[i].scriptSig); } - if (!VerifyScript(txin.scriptSig, prevPubKey, STANDARD_SCRIPT_VERIFY_FLAGS, SignatureChecker(mergedTx, i))) + if (!VerifyScript(txin.scriptSig, prevPubKey, STANDARD_SCRIPT_VERIFY_FLAGS, MutableTransactionSignatureChecker(mergedTx, i))) fComplete = false; } |