aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Chow <github@achow101.com>2023-02-06 00:27:39 -0500
committerfanquake <fanquake@gmail.com>2023-02-27 14:15:15 +0000
commit784a754aa47ce10c6fd99c09cdfc76ee9bc91652 (patch)
tree2bf39d29063a9f2d22c2573d84390652b2593e59
parentdebcfe313a22fddc2a6247c55f3c7893f6134c05 (diff)
downloadbitcoin-784a754aa47ce10c6fd99c09cdfc76ee9bc91652.tar.xz
wallet, rpc: Update migratewallet help text for encrypted wallets
Github-Pull: #26595 Rebased-From: 9486509be65f09174a0cb50a337cac58a0c09de4
-rw-r--r--src/wallet/rpc/wallet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/rpc/wallet.cpp b/src/wallet/rpc/wallet.cpp
index e8743cd2f6..a2ae078343 100644
--- a/src/wallet/rpc/wallet.cpp
+++ b/src/wallet/rpc/wallet.cpp
@@ -709,8 +709,8 @@ static RPCHelpMan migratewallet()
"A new wallet backup will need to be made.\n"
"\nThe migration process will create a backup of the wallet before migrating. This backup\n"
"file will be named <wallet name>-<timestamp>.legacy.bak and can be found in the directory\n"
- "for this wallet. In the event of an incorrect migration, the backup can be restored using restorewallet." +
- HELP_REQUIRING_PASSPHRASE,
+ "for this wallet. In the event of an incorrect migration, the backup can be restored using restorewallet."
+ "\nEncrypted wallets must have the passphrase provided as an argument to this call.",
{
{"wallet_name", RPCArg::Type::STR, RPCArg::DefaultHint{"the wallet name from the RPC endpoint"}, "The name of the wallet to migrate. If provided both here and in the RPC endpoint, the two must be identical."},
{"passphrase", RPCArg::Type::STR, RPCArg::Optional::OMITTED, "The wallet passphrase"},