simplewallet: print fully qualified filename for new wallets

from time to time, some people don't realize their wallets get
created in their current working directory
This commit is contained in:
moneromooo-monero
2023-02-24 10:22:48 +00:00
committed by wowario
parent e8a9afe632
commit 7d6b6eee1b

View File

@@ -4056,6 +4056,7 @@ bool simple_wallet::ask_wallet_create_if_needed()
bool ok = true; bool ok = true;
if (!m_restoring) if (!m_restoring)
{ {
message_writer() << tr("Looking for filename: ") << boost::filesystem::complete(wallet_path);
message_writer() << tr("No wallet found with that name. Confirm creation of new wallet named: ") << wallet_path; message_writer() << tr("No wallet found with that name. Confirm creation of new wallet named: ") << wallet_path;
confirm_creation = input_line("", true); confirm_creation = input_line("", true);
if(std::cin.eof()) if(std::cin.eof())
@@ -5002,6 +5003,7 @@ boost::optional<epee::wipeable_string> simple_wallet::new_wallet(const boost::pr
"your current session's state. Otherwise, you might need to synchronize \n" "your current session's state. Otherwise, you might need to synchronize \n"
"your wallet again (your wallet keys are NOT at risk in any case).\n") "your wallet again (your wallet keys are NOT at risk in any case).\n")
; ;
success_msg_writer() << tr("Filename: ") << boost::filesystem::complete(m_wallet->get_keys_file());
if (!two_random) if (!two_random)
{ {