Skip to content

Commit b27ab96

Browse files
committed
fix: follow-up bitcoin#25680 for several Dash rpcs: newkeypool, dumpprivkey, importelectrumwallet
1 parent d5fc8bf commit b27ab96

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/wallet/rpc/addresses.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,8 @@ RPCHelpMan newkeypool()
314314
"When restoring a backup of an HD wallet created before the newkeypool command is run, funds received to\n"
315315
"new addresses may not appear automatically. They have not been lost, but the wallet may not find them.\n"
316316
"This can be fixed by running the newkeypool command on the backup and then rescanning, so the wallet\n"
317-
"re-generates the required keys." +
317+
"re-generates the required keys.\n"
318+
"Note: This command is only compatible with legacy wallets.\n" +
318319
HELP_REQUIRING_PASSPHRASE,
319320
{},
320321
RPCResult{RPCResult::Type::NONE, "", ""},

src/wallet/rpc/backup.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,8 @@ RPCHelpMan importwallet()
644644
RPCHelpMan importelectrumwallet()
645645
{
646646
return RPCHelpMan{"importelectrumwallet",
647-
"\nImports keys from an Electrum wallet export file (.csv or .json)\n",
647+
"\nImports keys from an Electrum wallet export file (.csv or .json)\n"
648+
"Note: This command is only compatible with legacy wallets.\n",
648649
{
649650
{"filename", RPCArg::Type::STR, RPCArg::Optional::NO, "The Electrum wallet export file, should be in csv or json format"},
650651
{"index", RPCArg::Type::NUM, RPCArg::Default{0}, "Rescan the wallet for transactions starting from this block index"},
@@ -869,7 +870,8 @@ RPCHelpMan dumpprivkey()
869870
RPCHelpMan dumphdinfo()
870871
{
871872
return RPCHelpMan{"dumphdinfo",
872-
"Returns an object containing sensitive private info about this HD wallet.\n",
873+
"Returns an object containing sensitive private info about this HD wallet.\n"
874+
"Note: This command is only compatible with legacy wallets.\n",
873875
{},
874876
RPCResult{
875877
RPCResult::Type::OBJ, "", "",

0 commit comments

Comments
 (0)