mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-06-02 15:32:34 +02:00
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
@ -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 New Issue
Block a user