diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-07-22 17:11:42 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-07-22 17:31:52 +0100 |
commit | 83128877e0bd704def046b50fc580cee9026f11e (patch) | |
tree | 89faea4c28025fbf31a52f0f5846c3fdcc7ca85f /src/simplewallet | |
parent | Merge pull request #914 (diff) | |
download | monero-83128877e0bd704def046b50fc580cee9026f11e.tar.xz |
simplewallet: suggest removing cache when loading fails
Diffstat (limited to 'src/simplewallet')
-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 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; } |