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.
This commit is contained in:
Kittywhiskers Van Gogh 2024-09-13 13:14:32 +00:00
parent 438cb85ece
commit 061aa05cf0
No known key found for this signature in database
GPG Key ID: 30CD0C065E5C4AAD

View File

@ -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)} 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() { LLMQContext::~LLMQContext() {