Skip to content

Commit f8c84e0

Browse files
committed
Merge bitcoin/bitcoin#23975: doc: Mark proprietary array optional
faa51a6 doc: Mark proprietary array optional (MarcoFalke) Pull request description: The global one is returned all the time, but the input/output array is returned optionally ACKs for top commit: fanquake: ACK faa51a6 Tree-SHA512: db987c13d59e0ccc633032707438d506fe4f8fbf7569a03b99d899cb1309de94f99c343840107fc51a9f904bcf55e00049808b6cdf732fc16c6e9e818b480936
2 parents 53b0450 + faa51a6 commit f8c84e0

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/rpc/rawtransaction.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1066,8 +1066,9 @@ static RPCHelpMan testmempoolaccept()
10661066

10671067
static RPCHelpMan decodepsbt()
10681068
{
1069-
return RPCHelpMan{"decodepsbt",
1070-
"\nReturn a JSON object representing the serialized, base64-encoded partially signed Bitcoin transaction.\n",
1069+
return RPCHelpMan{
1070+
"decodepsbt",
1071+
"Return a JSON object representing the serialized, base64-encoded partially signed Bitcoin transaction.",
10711072
{
10721073
{"psbt", RPCArg::Type::STR, RPCArg::Optional::NO, "The PSBT base64 string"},
10731074
},
@@ -1176,7 +1177,7 @@ static RPCHelpMan decodepsbt()
11761177
{
11771178
{RPCResult::Type::STR_HEX, "key", "(key-value pair) An unknown key-value pair"},
11781179
}},
1179-
{RPCResult::Type::ARR, "proprietary", "The input proprietary map",
1180+
{RPCResult::Type::ARR, "proprietary", /*optional=*/true, "The input proprietary map",
11801181
{
11811182
{RPCResult::Type::OBJ, "", "",
11821183
{
@@ -1217,7 +1218,7 @@ static RPCHelpMan decodepsbt()
12171218
{
12181219
{RPCResult::Type::STR_HEX, "key", "(key-value pair) An unknown key-value pair"},
12191220
}},
1220-
{RPCResult::Type::ARR, "proprietary", "The output proprietary map",
1221+
{RPCResult::Type::ARR, "proprietary", /*optional=*/true, "The output proprietary map",
12211222
{
12221223
{RPCResult::Type::OBJ, "", "",
12231224
{

0 commit comments

Comments
 (0)