aboutsummaryrefslogtreecommitdiff
path: root/src/rpcrawtransaction.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2012-08-22 22:33:21 +0200
committerPieter Wuille <[email protected]>2012-09-21 01:24:25 +0200
commit58bc86e37fda1aec270bccb3df6c20fbd2a6591c (patch)
tree281ed668edca7eb3d528f37ebff803e4eaac12bd /src/rpcrawtransaction.cpp
parentMerge pull request #1717 from Diapolo/Qt_change_TX_display (diff)
downloaddiscoin-58bc86e37fda1aec270bccb3df6c20fbd2a6591c.tar.xz
discoin-58bc86e37fda1aec270bccb3df6c20fbd2a6591c.zip
Check for canonical public keys and signatures
Only enabled inside tests for now.
Diffstat (limited to 'src/rpcrawtransaction.cpp')
-rw-r--r--src/rpcrawtransaction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcrawtransaction.cpp b/src/rpcrawtransaction.cpp
index 08b0049b0..7646861ff 100644
--- a/src/rpcrawtransaction.cpp
+++ b/src/rpcrawtransaction.cpp
@@ -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;
}