diff options
author | Ben Woosley <ben.woosley@gmail.com> | 2018-02-16 12:57:19 -0800 |
---|---|---|
committer | Ben Woosley <ben.woosley@gmail.com> | 2018-04-11 03:33:01 -0700 |
commit | 459ea5836e51306211d1752ec22b26d46ff1cbc1 (patch) | |
tree | fe242ec0b95daca2e2abd9cca48e222647583e76 | |
parent | 807d2ac1867cc0b8c3ada4203b61fa29f6035318 (diff) |
rpc: Drop redundant testing of signrawtransaction prevtxs args
These other types are already tested on line 736.
-rw-r--r-- | src/rpc/rawtransaction.cpp | 3 |
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"); |