From 061aa05cf0961ca17f235e8bf4cb845db0356b61 Mon Sep 17 00:00:00 2001 From: Kittywhiskers Van Gogh <63189531+kwvg@users.noreply.github.com> Date: Fri, 13 Sep 2024 13:14:32 +0000 Subject: [PATCH] chore: remove old llmq db migration code The migration code was introduced as part of dash#4141 in v0.18. We've had a few major version releases since. --- src/llmq/context.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/llmq/context.cpp b/src/llmq/context.cpp index 68d3ea1cb2..f6db0af0f5 100644 --- a/src/llmq/context.cpp +++ b/src/llmq/context.cpp @@ -41,9 +41,6 @@ LLMQContext::LLMQContext(CChainState& chainstate, CConnman& connman, CDeterminis }()}, ehfSignalsHandler{std::make_unique(chainstate, mnhfman, *sigman, *shareman, mempool, *qman, sporkman, peerman)} { - // NOTE: we use this only to wipe the old db, do NOT use it for anything else - // TODO: remove it in some future version - auto llmqDbTmp = std::make_unique(unit_tests ? "" : (gArgs.GetDataDirNet() / "llmq"), 1 << 20, unit_tests, true); } LLMQContext::~LLMQContext() {