aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-07-23 09:20:18 +0200
committerRiccardo Spagni <ric@spagni.net>2016-07-23 09:20:18 +0200
commit47618c2710e667451b2952d53cfde3d9bf945d77 (patch)
treef086af5cc51e8591413411632d53c1b91e7007be /src/simplewallet
parentMerge pull request #916 (diff)
parentsimplewallet: suggest removing cache when loading fails (diff)
downloadmonero-47618c2710e667451b2952d53cfde3d9bf945d77.tar.xz
Merge pull request #923
8312887 simplewallet: suggest removing cache when loading fails (moneromooo-monero)
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 9dd5f0c6e..eb763b0cd 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;
}