mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 22:50:59 +01:00
Merge pull request #4555
6dcfda2Don't pass nHashType to EvalScript nor CheckSig (jtimon)2b23a87Don't pass nHashType to VerifyScript (jtimon)ce3649fbRemove CScriptCheck::nHashType (was always 0) (jtimon)358562bRemove unused function main:VerifySignature (jtimon)
This commit is contained in:
@@ -435,7 +435,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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user