Skip to content

Commit 91ae0e9

Browse files
rpc: fix fields describtion in man in 'decodepsbt'
1 parent 8806605 commit 91ae0e9

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/rpc/rawtransaction.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1155,9 +1155,7 @@ static RPCHelpMan decodepsbt()
11551155
{RPCResult::Type::NUM, "output_count", "The number of outputs in this psbt."},
11561156
{RPCResult::Type::NUM, "inputs_modifiable", /*optional=*/true, "Whether inputs can be modified"},
11571157
{RPCResult::Type::NUM, "outputs_modifiable", /*optional=*/true, "Whether outputs can be modified"},
1158-
{RPCResult::Type::ARR, "sighash_single_indexes", /*optional=*/true, "The indexes which have SIGHASH_SINGLE signatures",
1159-
{{RPCResult::Type::NUM, "", "Index of an input with a SIGHASH_SINGLE signature"}},
1160-
},
1158+
{RPCResult::Type::BOOL, "has_sighash_single", /*optional=*/true, "Whether this PSBT has SIGHASH_SINGLE inputs"},
11611159
{RPCResult::Type::NUM, "psbt_version", "The PSBT version number. Not to be confused with the unsigned transaction version"},
11621160
{RPCResult::Type::ARR, "scalar_offsets", /*optional=*/true, "The PSET scalar elements",
11631161
{

0 commit comments

Comments
 (0)