Skip to content

Commit a8a3ea0

Browse files
committed
feat: enable EHF activation of MN_RR on mainnet
1 parent 47e3197 commit a8a3ea0

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/llmq/ehf_signals.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,6 @@ void CEHFSignalsHandler::UpdatedBlockTip(const CBlockIndex* const pindexNew, boo
5252
return;
5353
}
5454

55-
if (Params().NetworkIDString() == CBaseChainParams::MAIN) {
56-
// 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
57-
return;
58-
}
5955
const auto ehfSignals = mnhfman.GetSignalsStage(pindexNew);
6056
for (const auto& deployment : Params().GetConsensus().vDeployments) {
6157
// Skip deployments that do not use dip0023
@@ -102,10 +98,6 @@ void CEHFSignalsHandler::trySignEHFSignal(int bit, const CBlockIndex* const pind
10298

10399
void CEHFSignalsHandler::HandleNewRecoveredSig(const CRecoveredSig& recoveredSig)
104100
{
105-
if (Params().NetworkIDString() == CBaseChainParams::MAIN) {
106-
// 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
107-
return;
108-
}
109101
if (g_txindex) {
110102
g_txindex->BlockUntilSyncedToCurrentChain();
111103
}

0 commit comments

Comments
 (0)