diff --git a/src/init.cpp b/src/init.cpp index f38f8cfd24..a1b8b85844 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include @@ -2109,9 +2110,8 @@ bool AppInitMain(const CoreContext& context, NodeContext& node, interfaces::Bloc failed_verification = true; break; } - - bool v19active = llmq::utils::IsV19Active(tip); - if (llmq::utils::IsV19Active(tip)) { + const bool v19active{DeploymentActiveAfter(tip, chainparams.GetConsensus(), Consensus::DEPLOYMENT_V19)}; + if (v19active) { bls::bls_legacy_scheme.store(false); LogPrintf("%s: bls_legacy_scheme=%d\n", __func__, bls::bls_legacy_scheme.load()); }