aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-07-22 17:11:42 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-07-22 17:31:52 +0100
commit83128877e0bd704def046b50fc580cee9026f11e (patch)
tree89faea4c28025fbf31a52f0f5846c3fdcc7ca85f /src/simplewallet
parentMerge pull request #914 (diff)
downloadmonero-83128877e0bd704def046b50fc580cee9026f11e.tar.xz
simplewallet: suggest removing cache when loading fails
Diffstat (limited to 'src/simplewallet')
-rw-r--r--src/simplewallet/simplewallet.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index 2bcd8ae4c..10dc9d509 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -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;
}