From a8a3ea0e90ef469453d8d470a6028870f919a6bf Mon Sep 17 00:00:00 2001 From: Konstantin Akimov Date: Thu, 18 Jul 2024 12:48:38 +0700 Subject: [PATCH] feat: enable EHF activation of MN_RR on mainnet --- src/llmq/ehf_signals.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/llmq/ehf_signals.cpp b/src/llmq/ehf_signals.cpp index d4bb632403..7dd42bf2a4 100644 --- a/src/llmq/ehf_signals.cpp +++ b/src/llmq/ehf_signals.cpp @@ -52,10 +52,6 @@ void CEHFSignalsHandler::UpdatedBlockTip(const CBlockIndex* const pindexNew, boo return; } - if (Params().NetworkIDString() == CBaseChainParams::MAIN) { - // TODO: v20 will never attempt to create EHF messages on main net; if this is needed it will be done by v20.1 or v21 nodes - return; - } const auto ehfSignals = mnhfman.GetSignalsStage(pindexNew); for (const auto& deployment : Params().GetConsensus().vDeployments) { // Skip deployments that do not use dip0023 @@ -102,10 +98,6 @@ void CEHFSignalsHandler::trySignEHFSignal(int bit, const CBlockIndex* const pind void CEHFSignalsHandler::HandleNewRecoveredSig(const CRecoveredSig& recoveredSig) { - if (Params().NetworkIDString() == CBaseChainParams::MAIN) { - // TODO: v20 will never attempt to create EHF messages on main net; if this is needed it will be done by v20.1 or v21 nodes - return; - } if (g_txindex) { g_txindex->BlockUntilSyncedToCurrentChain(); }