aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet/simplewallet.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-09-21 20:40:46 +0200
committerRiccardo Spagni <ric@spagni.net>2018-09-21 20:40:46 +0200
commitdc9a69d9801f9a3ffe6202bd295d02f91f217eb1 (patch)
tree08d9821d759c42264dcf69fa28f2fcefa4cd9837 /src/simplewallet/simplewallet.cpp
parentMerge pull request #4373 (diff)
parentsimplewallet: print reason why refresh+password is needed (diff)
downloadmonero-dc9a69d9801f9a3ffe6202bd295d02f91f217eb1.tar.xz
Merge pull request #4376
2ace509a simplewallet: print reason why refresh+password is needed (moneromooo-monero)
Diffstat (limited to 'src/simplewallet/simplewallet.cpp')
-rw-r--r--src/simplewallet/simplewallet.cpp2
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;
}