From 459ea5836e51306211d1752ec22b26d46ff1cbc1 Mon Sep 17 00:00:00 2001 From: Ben Woosley Date: Fri, 16 Feb 2018 12:57:19 -0800 Subject: rpc: Drop redundant testing of signrawtransaction prevtxs args These other types are already tested on line 736. --- src/rpc/rawtransaction.cpp | 3 --- 1 file changed, 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"); -- cgit v1.2.3