mirror of
https://github.com/monero-project/monero.git
synced 2024-12-28 20:26:13 -05:00
simplewallet: suggest removing cache when loading fails
This commit is contained in:
parent
38e5156392
commit
83128877e0
@ -1697,6 +1697,7 @@ bool simple_wallet::open_wallet(const string &wallet_file, const std::string& pa
|
|||||||
catch (const std::exception& e)
|
catch (const std::exception& e)
|
||||||
{
|
{
|
||||||
fail_msg_writer() << tr("failed to load wallet: ") << e.what();
|
fail_msg_writer() << tr("failed to load wallet: ") << e.what();
|
||||||
|
fail_msg_writer() << boost::format(tr("You may want to remove the file \"%s\" and try again")) % wallet_file;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user