diff --git a/src/validation.cpp b/src/validation.cpp --- a/src/validation.cpp +++ b/src/validation.cpp @@ -2111,15 +2111,6 @@ FlushStateToDisk(chainparams, state, FlushStateMode::NONE); } -static void DoWarning(const std::string &strWarning) { - static bool fWarned = false; - SetMiscWarning(strWarning); - if (!fWarned) { - AlertNotify(strWarning); - fWarned = true; - } -} - /** * Update chainActive and related internal data structures when adding a new * block to the chain tip.