aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2018-04-11 15:56:38 +0200
committerWladimir J. van der Laan <[email protected]>2018-04-11 15:57:41 +0200
commitfefb817009fc544468cc5ca75ed19ab7a7e924df (patch)
treeddb88bca5fd91f116408411bbece655f1838b74f /src
parentMerge #11617: Avoid lock: Call FlushStateToDisk(...) regardless of fCheckForP... (diff)
parentrpc: Drop redundant testing of signrawtransaction prevtxs args (diff)
downloaddiscoin-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.cpp3
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");