simplewallet: change boost::filesystem::complete to absolute.

This commit is contained in:
0xFFFC0000 2024-04-27 14:23:39 +00:00
parent c8214782fb
commit f9d9dd88bb
No known key found for this signature in database
GPG Key ID: 650F7C2B7BDA3819

View File

@ -3838,7 +3838,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("Looking for filename: ") << boost::filesystem::absolute(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())
@ -4774,7 +4774,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()); success_msg_writer() << tr("Filename: ") << boost::filesystem::absolute(m_wallet->get_keys_file());
if (!two_random) if (!two_random)
{ {