Don't pass nHashType to EvalScript nor CheckSig

This commit is contained in:
jtimon
2014-07-18 18:47:10 +02:00
committed by Pieter Wuille
parent 2b23a87599
commit 6dcfda2dc4
5 changed files with 18 additions and 21 deletions

View File

@@ -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)