simplewallet: suggest removing cache when loading fails

This commit is contained in:
moneromooo-monero 2016-07-22 17:11:42 +01:00
parent 38e5156392
commit 83128877e0
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 1 additions and 0 deletions

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;
}