mirror of
https://github.com/monero-project/monero.git
synced 2024-12-25 04:59:43 +00:00
simplewallet: do not mention inactivity if a lock was manual
This commit is contained in:
parent
4c9fd8d86d
commit
9f57f0df92
1 changed files with 2 additions and 1 deletions
|
@ -6195,7 +6195,8 @@ void simple_wallet::check_for_inactivity_lock(bool user)
|
||||||
}
|
}
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
tools::msg_writer() << tr("Locked due to inactivity. The wallet password is required to unlock the console.");
|
const char *inactivity_msg = user ? "" : tr("Locked due to inactivity.");
|
||||||
|
tools::msg_writer() << inactivity_msg << (inactivity_msg[0] ? " " : "") << tr("The wallet password is required to unlock the console.");
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (get_and_verify_password())
|
if (get_and_verify_password())
|
||||||
|
|
Loading…
Reference in a new issue