From 0351469bb579bc9f10c7eccd483431c077ec992f Mon Sep 17 00:00:00 2001 From: Konstantin Akimov Date: Fri, 16 Aug 2024 15:16:13 +0700 Subject: [PATCH] refactor: removed duplicated meaningless condition from Check mnhftx --- src/evo/mnhftx.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/evo/mnhftx.cpp b/src/evo/mnhftx.cpp index 788d25f4fd..22b95062b1 100644 --- a/src/evo/mnhftx.cpp +++ b/src/evo/mnhftx.cpp @@ -231,10 +231,7 @@ std::optional CMNHFManager::ProcessBlock(const CBlock& bl return signals; } for (const auto& versionBit : new_signals) { - if (Params().IsValidMNActivation(versionBit, pindex->GetMedianTimePast())) { - signals.insert({versionBit, mined_height}); - } - + signals.insert({versionBit, mined_height}); } AddToCache(signals, pindex);