Skip to content

Commit ef1d267

Browse files
rpc: fix fields type in man in 'decodepsbt'
1 parent 91ae0e9 commit ef1d267

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/rpc/rawtransaction.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1153,8 +1153,8 @@ static RPCHelpMan decodepsbt()
11531153
{RPCResult::Type::NUM, "fees", "The fees specified in this psbt.", {}, /*skip_type_check=*/true}, // ELEMENTS has an explicit fee output, bitcoin does not (they are implicit)
11541154
{RPCResult::Type::NUM, "input_count", "The number of inputs in this psbt"},
11551155
{RPCResult::Type::NUM, "output_count", "The number of outputs in this psbt."},
1156-
{RPCResult::Type::NUM, "inputs_modifiable", /*optional=*/true, "Whether inputs can be modified"},
1157-
{RPCResult::Type::NUM, "outputs_modifiable", /*optional=*/true, "Whether outputs can be modified"},
1156+
{RPCResult::Type::BOOL, "inputs_modifiable", /*optional=*/true, "Whether inputs can be modified"},
1157+
{RPCResult::Type::BOOL, "outputs_modifiable", /*optional=*/true, "Whether outputs can be modified"},
11581158
{RPCResult::Type::BOOL, "has_sighash_single", /*optional=*/true, "Whether this PSBT has SIGHASH_SINGLE inputs"},
11591159
{RPCResult::Type::NUM, "psbt_version", "The PSBT version number. Not to be confused with the unsigned transaction version"},
11601160
{RPCResult::Type::ARR, "scalar_offsets", /*optional=*/true, "The PSET scalar elements",

0 commit comments

Comments
 (0)