Skip to content

Commit fefb817

Browse files
committed
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
2 parents 1b5723e + 459ea58 commit fefb817

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)