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/simplewallet/simplewallet.cpp | |
| parent | e6d36c17015e179aaa21f2353bdc608967833303 (diff) | |
| download | monzero-core-2ace509a7802e286e98e931f57e676f58ff8a2e0.tar.gz monzero-core-2ace509a7802e286e98e931f57e676f58ff8a2e0.tar.xz monzero-core-2ace509a7802e286e98e931f57e676f58ff8a2e0.zip | |
simplewallet: print reason why refresh+password is needed
Diffstat (limited to 'src/simplewallet/simplewallet.cpp')
| -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; } |
