Skip to content

Commit 784a754

Browse files
achow101fanquake
authored andcommitted
wallet, rpc: Update migratewallet help text for encrypted wallets
Github-Pull: #26595 Rebased-From: 9486509
1 parent debcfe3 commit 784a754

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
@@ -709,8 +709,8 @@ static RPCHelpMan migratewallet()
709709
"A new wallet backup will need to be made.\n"
710710
"\nThe migration process will create a backup of the wallet before migrating. This backup\n"
711711
"file will be named <wallet name>-<timestamp>.legacy.bak and can be found in the directory\n"
712-
"for this wallet. In the event of an incorrect migration, the backup can be restored using restorewallet." +
713-
HELP_REQUIRING_PASSPHRASE,
712+
"for this wallet. In the event of an incorrect migration, the backup can be restored using restorewallet."
713+
"\nEncrypted wallets must have the passphrase provided as an argument to this call.",
714714
{
715715
{"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."},
716716
{"passphrase", RPCArg::Type::STR, RPCArg::Optional::OMITTED, "The wallet passphrase"},

0 commit comments

Comments
 (0)