aboutsummaryrefslogtreecommitdiff
path: root/src/node/timeoffsets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/node/timeoffsets.cpp')
-rw-r--r--src/node/timeoffsets.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/node/timeoffsets.cpp b/src/node/timeoffsets.cpp
index b839b60565..d06a07b15a 100644
--- a/src/node/timeoffsets.cpp
+++ b/src/node/timeoffsets.cpp
@@ -3,7 +3,6 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <logging.h>
-#include <node/interface_ui.h>
#include <node/timeoffsets.h>
#include <node/warnings.h>
#include <sync.h>
@@ -50,7 +49,6 @@ bool TimeOffsets::WarnIfOutOfSync() const
auto median{std::max(Median(), std::chrono::seconds(std::numeric_limits<int64_t>::min() + 1))};
if (std::chrono::abs(median) <= WARN_THRESHOLD) {
node::g_warnings.Unset(node::Warning::CLOCK_OUT_OF_SYNC);
- uiInterface.NotifyAlertChanged();
return false;
}
@@ -64,6 +62,5 @@ bool TimeOffsets::WarnIfOutOfSync() const
), Ticks<std::chrono::minutes>(WARN_THRESHOLD))};
LogWarning("%s\n", msg.original);
node::g_warnings.Set(node::Warning::CLOCK_OUT_OF_SYNC, msg);
- uiInterface.NotifyAlertChanged();
return true;
}