diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-09-17 13:19:58 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-09-17 13:44:22 +0200 |
| commit | 438c7e4cd2179170aeadb4aa1c902ccd1256dee6 (patch) | |
| tree | d040fe5263589ae9718839e17ac5b31c276cc8f5 /src/bitcoin-tx.cpp | |
| parent | Merge pull request #4863 (diff) | |
| parent | Don't pass nHashType to EvalScript nor CheckSig (diff) | |
| download | discoin-438c7e4cd2179170aeadb4aa1c902ccd1256dee6.tar.xz discoin-438c7e4cd2179170aeadb4aa1c902ccd1256dee6.zip | |
Merge pull request #4555
6dcfda2 Don't pass nHashType to EvalScript nor CheckSig (jtimon)
2b23a87 Don't pass nHashType to VerifyScript (jtimon)
ce3649fb Remove CScriptCheck::nHashType (was always 0) (jtimon)
358562b Remove unused function main:VerifySignature (jtimon)
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 6445042f9..b6e7a6c54 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, 0)) + if (!VerifyScript(txin.scriptSig, prevPubKey, mergedTx, i, STANDARD_SCRIPT_VERIFY_FLAGS)) fComplete = false; } |