aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorjtimon <jtimon@monetize.io>2014-07-18 18:47:10 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2014-09-12 20:04:31 +0200
commit6dcfda2dc48bee2148acd571dce7d3f09608d7a2 (patch)
tree6ba3fec3363d4843eee8887c7a51112385fffec0 /src/main.cpp
parent2b23a87599b7d28e86ca193e7b52f429bcdf144f (diff)
Don't pass nHashType to EvalScript nor CheckSig
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index c59bc40c69..134e87fc99 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -697,7 +697,7 @@ bool AreInputsStandard(const CTransaction& tx, const CCoinsViewCache& mapInputs)
// IsStandard() will have already returned false
// and this method isn't called.
vector<vector<unsigned char> > stack;
- if (!EvalScript(stack, tx.vin[i].scriptSig, tx, i, false, 0))
+ if (!EvalScript(stack, tx.vin[i].scriptSig, tx, i, false))
return false;
if (whichType == TX_SCRIPTHASH)