mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02: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:
commit
438c7e4cd2
11 changed files with 57 additions and 70 deletions
|
|
@ -687,7 +687,7 @@ Value signrawtransaction(const Array& params, bool fHelp)
|
|||
BOOST_FOREACH(const CMutableTransaction& 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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue