Merge pull request #923

8312887 simplewallet: suggest removing cache when loading fails (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2016-07-23 09:20:18 +02:00
commit 47618c2710
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -1697,6 +1697,7 @@ bool simple_wallet::open_wallet(const string &wallet_file, const std::string& pa
catch (const std::exception& e)
{
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;
}