diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-09-21 20:40:46 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-09-21 20:40:46 +0200 |
commit | dc9a69d9801f9a3ffe6202bd295d02f91f217eb1 (patch) | |
tree | 08d9821d759c42264dcf69fa28f2fcefa4cd9837 /src/simplewallet | |
parent | Merge pull request #4373 (diff) | |
parent | simplewallet: print reason why refresh+password is needed (diff) | |
download | monero-dc9a69d9801f9a3ffe6202bd295d02f91f217eb1.tar.xz |
Merge pull request #4376
2ace509a simplewallet: print reason why refresh+password is needed (moneromooo-monero)
Diffstat (limited to 'src/simplewallet')
-rw-r--r-- | src/simplewallet/simplewallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index 391d1f03e..b3c46bd50 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -4203,7 +4203,7 @@ boost::optional<epee::wipeable_string> simple_wallet::on_get_password(const char // can't ask for password from a background thread if (!m_in_manual_refresh.load(std::memory_order_relaxed)) { - message_writer(console_color_red, false) << tr("Password needed - use the refresh command"); + message_writer(console_color_red, false) << boost::format(tr("Password needed (%s) - use the refresh command")) % reason; m_cmd_binder.print_prompt(); return boost::none; } |