diff options
| author | Wladimir J. van der Laan <[email protected]> | 2018-04-11 15:56:38 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2018-04-11 15:57:41 +0200 |
| commit | fefb817009fc544468cc5ca75ed19ab7a7e924df (patch) | |
| tree | ddb88bca5fd91f116408411bbece655f1838b74f /src | |
| parent | Merge #11617: Avoid lock: Call FlushStateToDisk(...) regardless of fCheckForP... (diff) | |
| parent | rpc: Drop redundant testing of signrawtransaction prevtxs args (diff) | |
| download | discoin-fefb817009fc544468cc5ca75ed19ab7a7e924df.tar.xz discoin-fefb817009fc544468cc5ca75ed19ab7a7e924df.zip | |
Merge #12942: rpc: Drop redundant testing of signrawtransaction prevtxs args
459ea58 rpc: Drop redundant testing of signrawtransaction prevtxs args (Ben Woosley)
Pull request description:
These other types are already tested on line 736.
Tree-SHA512: 2efe777c8a63c69ffe0fafcb2f37f134d324a8bc9525510f1079d2215535b511d6308e5e6eec702a3444f87701236c5e7a22f10bb24e5a454010ef421e5ae900
Diffstat (limited to 'src')
| -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"); |