simplewallet: update error message

This commit is contained in:
jpk68
2026-08-24 10:33:05 -04:00
parent 3646f648db
commit 881e7a71c2
+3 -2
View File
@@ -4559,8 +4559,9 @@ bool simple_wallet::try_connect_to_daemon(bool silent, uint32_t* version)
"Please make sure the daemon is running the latest version or change the daemon address using the 'set_daemon' command.");
else
fail_msg_writer() << tr("wallet failed to connect to daemon: ") << m_wallet->get_daemon_address() << ". " <<
tr("Daemon either is not started or wrong port was passed. "
"Please make sure daemon is running or change the daemon address using the 'set_daemon' command.");
boost::format(tr("Daemon either is not started or the wrong port was passed. "
"Please make sure a %sdaemon is running or change the daemon address using the 'set_daemon' command."))
% (m_wallet->nettype() == TESTNET ? "testnet " : m_wallet->nettype() == STAGENET ? "stagenet " : "");
}
return false;
}