wallet, rpc: Update migratewallet help text for encrypted wallets

This commit is contained in:
Andrew Chow committed 2023-02-21 15:51:31 -05:00
1 parent aaf02b5721
commit 9486509be6
1 file changed
+2 -2
+2 -2
View File
@@ -720,8 +720,8 @@ static RPCHelpMan migratewallet()
"A new wallet backup will need to be made.\n" "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" "\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" "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." + "for this wallet. In the event of an incorrect migration, the backup can be restored using restorewallet."
HELP_REQUIRING_PASSPHRASE, "\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."}, {"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"}, {"passphrase", RPCArg::Type::STR, RPCArg::Optional::OMITTED, "The wallet passphrase"},