mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 08:17:37 +00:00
simplewallet: print reason why refresh+password is needed
This commit is contained in:
parent
e6d36c1701
commit
2ace509a78
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue