aboutsummaryrefslogtreecommitdiff
path: root/src/rpcrawtransaction.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2014-10-06 04:38:52 +0200
committerWladimir J. van der Laan <[email protected]>2014-10-06 04:39:17 +0200
commit5f1aee066a56aa5ac980758d5d3a69dd37a46e73 (patch)
treef925a2fafa00c5c41501976b737e5063d5636252 /src/rpcrawtransaction.cpp
parentMerge pull request #5035 (diff)
parentReplace SCRIPT_VERIFY_NOCACHE by flag directly to checker (diff)
downloaddiscoin-5f1aee066a56aa5ac980758d5d3a69dd37a46e73.tar.xz
discoin-5f1aee066a56aa5ac980758d5d3a69dd37a46e73.zip
Merge pull request #4890
e790c37 Replace SCRIPT_VERIFY_NOCACHE by flag directly to checker (Pieter Wuille) 5c1e798 Make signature cache optional (Pieter Wuille) c7829ea Abstract out SignatureChecker (Pieter Wuille)
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 bd87d7770..e50a278bc 100644
--- a/src/rpcrawtransaction.cpp
+++ b/src/rpcrawtransaction.cpp
@@ -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))
+ if (!VerifyScript(txin.scriptSig, prevPubKey, STANDARD_SCRIPT_VERIFY_FLAGS, SignatureChecker(mergedTx, i)))
fComplete = false;
}