Make time warning correct for any HAC
This commit is contained in:
@@ -71,11 +71,11 @@ void CTimeWarning::Warn(size_t peersAhead, size_t peersBehind)
|
||||
{
|
||||
std::string strMessage;
|
||||
if (peersBehind >= TIMEDATA_WARNING_MAJORITY) {
|
||||
strMessage = _("Warning: Your computer's date and time may be ahead of the rest of the network! If your clock is wrong Hush will not work properly.");
|
||||
strMessage = _("Warning: Your computer's date and time may be ahead of the rest of the network! If your clock is wrong this node will not work properly.");
|
||||
} else if (peersAhead >= TIMEDATA_WARNING_MAJORITY) {
|
||||
strMessage = _("Warning: Your computer's date and time may be behind the rest of the network! If your clock is wrong Hush will not work properly.");
|
||||
strMessage = _("Warning: Your computer's date and time may be behind the rest of the network! If your clock is wrong this node will not work properly.");
|
||||
} else {
|
||||
strMessage = _("Warning: Please check that your computer's date and time are correct! If your clock is wrong Hush will not work properly.");
|
||||
strMessage = _("Warning: Please check that your computer's date and time are correct! If your clock is wrong this node will not work properly.");
|
||||
}
|
||||
LogPrintf("*** %s\n", strMessage);
|
||||
uiInterface.ThreadSafeMessageBox(strMessage, "", CClientUIInterface::MSG_WARNING);
|
||||
|
||||
Reference in New Issue
Block a user