Skip to content

Commit 9486509

Browse files
committed
wallet, rpc: Update migratewallet help text for encrypted wallets
1 parent aaf02b5 commit 9486509

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wallet/rpc/wallet.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -720,8 +720,8 @@ static RPCHelpMan migratewallet()
720720
"A new wallet backup will need to be made.\n"
721721
"\nThe migration process will create a backup of the wallet before migrating. This backup\n"
722722
"file will be named <wallet name>-<timestamp>.legacy.bak and can be found in the directory\n"
723-
"for this wallet. In the event of an incorrect migration, the backup can be restored using restorewallet." +
724-
HELP_REQUIRING_PASSPHRASE,
723+
"for this wallet. In the event of an incorrect migration, the backup can be restored using restorewallet."
724+
"\nEncrypted wallets must have the passphrase provided as an argument to this call.",
725725
{
726726
{"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."},
727727
{"passphrase", RPCArg::Type::STR, RPCArg::Optional::OMITTED, "The wallet passphrase"},

0 commit comments

Comments
 (0)