aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/rawtransaction.cpp
diff options
context:
space:
mode:
authorBen Woosley <ben.woosley@gmail.com>2018-02-16 12:57:19 -0800
committerBen Woosley <ben.woosley@gmail.com>2018-04-11 03:33:01 -0700
commit459ea5836e51306211d1752ec22b26d46ff1cbc1 (patch)
treefe242ec0b95daca2e2abd9cca48e222647583e76 /src/rpc/rawtransaction.cpp
parent807d2ac1867cc0b8c3ada4203b61fa29f6035318 (diff)
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 f0493de3bd..cc616ce5e6 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");