mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 15:19:07 +01:00
Check for canonical public keys and signatures
Only enabled inside tests for now.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user