rpc: Drop redundant testing of signrawtransaction prevtxs args
These other types are already tested on line 736.
This commit is contained in:
parent
807d2ac186
commit
459ea5836e
1 changed files with 0 additions and 3 deletions
|
@ -774,9 +774,6 @@ UniValue SignTransaction(CMutableTransaction& mtx, const UniValue& prevTxsUnival
|
||||||
if (is_temp_keystore && (scriptPubKey.IsPayToScriptHash() || scriptPubKey.IsPayToWitnessScriptHash())) {
|
if (is_temp_keystore && (scriptPubKey.IsPayToScriptHash() || scriptPubKey.IsPayToWitnessScriptHash())) {
|
||||||
RPCTypeCheckObj(prevOut,
|
RPCTypeCheckObj(prevOut,
|
||||||
{
|
{
|
||||||
{"txid", UniValueType(UniValue::VSTR)},
|
|
||||||
{"vout", UniValueType(UniValue::VNUM)},
|
|
||||||
{"scriptPubKey", UniValueType(UniValue::VSTR)},
|
|
||||||
{"redeemScript", UniValueType(UniValue::VSTR)},
|
{"redeemScript", UniValueType(UniValue::VSTR)},
|
||||||
});
|
});
|
||||||
UniValue v = find_value(prevOut, "redeemScript");
|
UniValue v = find_value(prevOut, "redeemScript");
|
||||||
|
|
Loading…
Reference in a new issue