diff options
author | Riccardo Spagni <ric@spagni.net> | 2016-07-23 09:20:18 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2016-07-23 09:20:18 +0200 |
commit | 47618c2710e667451b2952d53cfde3d9bf945d77 (patch) | |
tree | f086af5cc51e8591413411632d53c1b91e7007be | |
parent | Merge pull request #916 (diff) | |
parent | simplewallet: suggest removing cache when loading fails (diff) | |
download | monero-47618c2710e667451b2952d53cfde3d9bf945d77.tar.xz |
Merge pull request #923
8312887 simplewallet: suggest removing cache when loading fails (moneromooo-monero)
-rw-r--r-- | src/simplewallet/simplewallet.cpp | 1 |
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; } |