diff options
| author | Ben Woosley <[email protected]> | 2018-02-16 12:57:19 -0800 |
|---|---|---|
| committer | Ben Woosley <[email protected]> | 2018-04-11 03:33:01 -0700 |
| commit | 459ea5836e51306211d1752ec22b26d46ff1cbc1 (patch) | |
| tree | fe242ec0b95daca2e2abd9cca48e222647583e76 /src/rpc/rawtransaction.cpp | |
| parent | Merge #12941: [Trivial] Ignore macOS daemon() depracation warning (diff) | |
| download | discoin-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.cpp | 3 |
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"); |