Skip to content

Commit

Permalink
chore: remove old llmq db migration code
Browse files Browse the repository at this point in the history
The migration code was introduced as part of dash#4141 in v0.18. We've
had a few major version releases since.
  • Loading branch information
kwvg committed Sep 13, 2024
1 parent 8ef8268 commit 56971f3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/llmq/context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ LLMQContext::LLMQContext(CChainState& chainstate, CConnman& connman, CDeterminis
}()},
ehfSignalsHandler{std::make_unique<llmq::CEHFSignalsHandler>(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<CDBWrapper>(unit_tests ? "" : (gArgs.GetDataDirNet() / "llmq"), 1 << 20, unit_tests, true);
}

LLMQContext::~LLMQContext() {
Expand Down

0 comments on commit 56971f3

Please sign in to comment.