Skip to content

Commit 459ea58

Browse files
committed
rpc: Drop redundant testing of signrawtransaction prevtxs args
These other types are already tested on line 736.
1 parent 807d2ac commit 459ea58

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/rpc/rawtransaction.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -774,9 +774,6 @@ UniValue SignTransaction(CMutableTransaction& mtx, const UniValue& prevTxsUnival
774774
if (is_temp_keystore && (scriptPubKey.IsPayToScriptHash() || scriptPubKey.IsPayToWitnessScriptHash())) {
775775
RPCTypeCheckObj(prevOut,
776776
{
777-
{"txid", UniValueType(UniValue::VSTR)},
778-
{"vout", UniValueType(UniValue::VNUM)},
779-
{"scriptPubKey", UniValueType(UniValue::VSTR)},
780777
{"redeemScript", UniValueType(UniValue::VSTR)},
781778
});
782779
UniValue v = find_value(prevOut, "redeemScript");

0 commit comments

Comments
 (0)