mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Check for canonical public keys and signatures
Only enabled inside tests for now.
This commit is contained in:
parent
bfc24bd4ce
commit
58bc86e37f
12 changed files with 245 additions and 62 deletions
|
|
@ -469,7 +469,7 @@ Value signrawtransaction(const Array& params, bool fHelp)
|
|||
{
|
||||
txin.scriptSig = CombineSignatures(prevPubKey, mergedTx, i, txin.scriptSig, txv.vin[i].scriptSig);
|
||||
}
|
||||
if (!VerifyScript(txin.scriptSig, prevPubKey, mergedTx, i, true, 0))
|
||||
if (!VerifyScript(txin.scriptSig, prevPubKey, mergedTx, i, true, true, 0))
|
||||
fComplete = false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue