696@@ -697,7 +697,7 @@ bool AreInputsStandard(const CTransaction& tx, const CCoinsViewCache& mapInputs)
697 // IsStandard() will have already returned false
698 // and this method isn't called.
699 vector<vector<unsigned char> > stack;
700- if (!EvalScript(stack, tx.vin[i].scriptSig, tx, i, false))
701+ if (!EvalScript(stack, tx.vin[i].scriptSig, false, BaseSignatureChecker()))
flags
doesn’t match against signature EvalScript(std::vector<std::vector<unsigned char> >& stack, const CScript& script, unsigned int flags, const BaseSignatureChecker& checker)
Indeed, the false
should be 0 or SCRIPT_VERIFY_NONE, but I didn’t want to touch that here.
Okay, agreed, didn’t notice that was the case in the original code as well.