Skip to content

Commit b44514b

Browse files
committed
rpc, doc: update listdescriptors RCP help
This RPC lists all the descriptors present in the wallet, not only the ones that were imported, but also the ones generated when a new wallet is created. It can be verified by creating a new wallet and calling the `listdescriptors` RPC, which will contain 8 ranged descriptors that are created for every new wallet. Also, update the description to get rid of "descriptor-enabled" because this is the only wallet type available now after removal of legacy wallets.
1 parent e217437 commit b44514b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet/rpc/backup.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ RPCHelpMan listdescriptors()
462462
{
463463
return RPCHelpMan{
464464
"listdescriptors",
465-
"List descriptors imported into a descriptor-enabled wallet.\n",
465+
"List all descriptors present in a wallet.\n",
466466
{
467467
{"private", RPCArg::Type::BOOL, RPCArg::Default{false}, "Show private descriptors."}
468468
},

0 commit comments

Comments
 (0)