diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-09-14 08:26:05 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-09-14 08:26:36 +0000 |
commit | 2ace509a7802e286e98e931f57e676f58ff8a2e0 (patch) | |
tree | e089401b905887c2920a000ea58bae22649626a7 /src | |
parent | Merge pull request #4219 (diff) | |
download | monero-2ace509a7802e286e98e931f57e676f58ff8a2e0.tar.xz |
simplewallet: print reason why refresh+password is needed
Diffstat (limited to 'src')
-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 bcdf2a43f..26a235dc2 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -4166,7 +4166,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; } |