diff options
| author | jtimon <[email protected]> | 2014-07-18 17:48:00 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2014-09-12 20:04:31 +0200 |
| commit | 2b23a87599b7d28e86ca193e7b52f429bcdf144f (patch) | |
| tree | 79c03c4223657483d0fe64a89aead45982d01165 /src/bitcoin-tx.cpp | |
| parent | Remove CScriptCheck::nHashType (was always 0) (diff) | |
| download | discoin-2b23a87599b7d28e86ca193e7b52f429bcdf144f.tar.xz discoin-2b23a87599b7d28e86ca193e7b52f429bcdf144f.zip | |
Don't pass nHashType to VerifyScript
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 91525b51c..1e27d400c 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, mergedTx, i, STANDARD_SCRIPT_VERIFY_FLAGS, 0)) + if (!VerifyScript(txin.scriptSig, prevPubKey, mergedTx, i, STANDARD_SCRIPT_VERIFY_FLAGS)) fComplete = false; } |