clarify obscure uses of EvalScript()

The 3rd argument of EvalScript() is the unsigned int flags, not a bool.
This commit is contained in:
Pavel Vasin
2014-12-29 18:48:19 +03:00
parent a99ef7d353
commit de236f57c6
2 changed files with 5 additions and 5 deletions

View File

@@ -762,7 +762,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, false, BaseSignatureChecker()))
if (!EvalScript(stack, tx.vin[i].scriptSig, SCRIPT_VERIFY_NONE, BaseSignatureChecker()))
return false;
if (whichType == TX_SCRIPTHASH)