From 83128877e0bd704def046b50fc580cee9026f11e Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Fri, 22 Jul 2016 17:11:42 +0100 Subject: [PATCH] simplewallet: suggest removing cache when loading fails --- src/simplewallet/simplewallet.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index 2bcd8ae4..10dc9d50 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; }