diff options
| author | Jeff Garzik <[email protected]> | 2012-10-20 10:56:04 -0700 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2012-10-20 10:56:04 -0700 |
| commit | dee0ee2ac9d6feb49eac9683c01a0eeed4389449 (patch) | |
| tree | 9eaf50e73a51a3b40da9cb557090a794138e9f35 /src/rpcrawtransaction.cpp | |
| parent | Revert "Merge pull request #1931 from laanwj/2012_10_newicons" (diff) | |
| parent | Check for canonical public keys and signatures (diff) | |
| download | discoin-dee0ee2ac9d6feb49eac9683c01a0eeed4389449.tar.xz discoin-dee0ee2ac9d6feb49eac9683c01a0eeed4389449.zip | |
Merge pull request #1742 from sipa/canonical
Check for canonical public keys and signatures
Diffstat (limited to 'src/rpcrawtransaction.cpp')
| -rw-r--r-- | src/rpcrawtransaction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcrawtransaction.cpp b/src/rpcrawtransaction.cpp index e634ed7dd..cb5bae62d 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; } |