diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index 64f134bd5..735bc7616 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -4562,8 +4562,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; }