You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge #1560: rpc: fix fields description in a man in 'decodepsbt'
ef1d267 rpc: fix fields type in man in 'decodepsbt' (Ruslan Kasheparov)
91ae0e9 rpc: fix fields describtion in man in 'decodepsbt' (Ruslan Kasheparov)
Pull request description:
Top commit has no ACKs.
Tree-SHA512: 736f7ebfd3c54267aee8e7b25970a25356f9a4c38ac23caecd40a7f4b2a96c0142adc0e73bcbd6881243981297af2d5fcc68bae9023cca6179bee823d1dd9ecb
{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)
1154
1154
{RPCResult::Type::NUM, "input_count", "The number of inputs in this psbt"},
1155
1155
{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"},
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
-
},
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"},
1158
+
{RPCResult::Type::BOOL, "has_sighash_single", /*optional=*/true, "Whether this PSBT has SIGHASH_SINGLE inputs"},
1161
1159
{RPCResult::Type::NUM, "psbt_version", "The PSBT version number. Not to be confused with the unsigned transaction version"},
1162
1160
{RPCResult::Type::ARR, "scalar_offsets", /*optional=*/true, "The PSET scalar elements",
0 commit comments