diff options
| author | Pieter Wuille <[email protected]> | 2014-09-10 16:16:09 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2014-10-02 20:26:17 +0200 |
| commit | 5c1e798a8e9df15f8fbd120e57fc67e585f13843 (patch) | |
| tree | 2b9cd1acc9565a7946683b50b237c332484de5e4 /src/bitcoin-tx.cpp | |
| parent | Abstract out SignatureChecker (diff) | |
| download | discoin-5c1e798a8e9df15f8fbd120e57fc67e585f13843.tar.xz discoin-5c1e798a8e9df15f8fbd120e57fc67e585f13843.zip | |
Make signature cache optional
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 a61b4fe29..a198eb586 100644 --- a/src/bitcoin-tx.cpp +++ b/src/bitcoin-tx.cpp @@ -435,7 +435,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, mergedTx, i, STANDARD_SCRIPT_VERIFY_FLAGS)) + if (!VerifyScript(txin.scriptSig, prevPubKey, STANDARD_SCRIPT_VERIFY_FLAGS, SignatureChecker(mergedTx, i))) fComplete = false; } |