mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
feat: enable EHF activation of MN_RR on mainnet
This commit is contained in:
parent
47e3197940
commit
a8a3ea0e90
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user