aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/rawtransaction.cpp
diff options
context:
space:
mode:
authorBen Woosley <[email protected]>2018-02-16 12:57:19 -0800
committerBen Woosley <[email protected]>2018-04-11 03:33:01 -0700
commit459ea5836e51306211d1752ec22b26d46ff1cbc1 (patch)
treefe242ec0b95daca2e2abd9cca48e222647583e76 /src/rpc/rawtransaction.cpp
parentMerge #12941: [Trivial] Ignore macOS daemon() depracation warning (diff)
downloaddiscoin-459ea5836e51306211d1752ec22b26d46ff1cbc1.tar.xz
discoin-459ea5836e51306211d1752ec22b26d46ff1cbc1.zip
rpc: Drop redundant testing of signrawtransaction prevtxs args
These other types are already tested on line 736.
Diffstat (limited to 'src/rpc/rawtransaction.cpp')
-rw-r--r--src/rpc/rawtransaction.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/rpc/rawtransaction.cpp b/src/rpc/rawtransaction.cpp
index f0493de3b..cc616ce5e 100644
--- a/src/rpc/rawtransaction.cpp
+++ b/src/rpc/rawtransaction.cpp
@@ -774,9 +774,6 @@ UniValue SignTransaction(CMutableTransaction& mtx, const UniValue& prevTxsUnival
if (is_temp_keystore && (scriptPubKey.IsPayToScriptHash() || scriptPubKey.IsPayToWitnessScriptHash())) {
RPCTypeCheckObj(prevOut,
{
- {"txid", UniValueType(UniValue::VSTR)},
- {"vout", UniValueType(UniValue::VNUM)},
- {"scriptPubKey", UniValueType(UniValue::VSTR)},
{"redeemScript", UniValueType(UniValue::VSTR)},
});
UniValue v = find_value(prevOut, "redeemScript");