diff --git a/src/llmq/quorums.cpp b/src/llmq/quorums.cpp index ba5b90eb5..c980e3021 100644 --- a/src/llmq/quorums.cpp +++ b/src/llmq/quorums.cpp @@ -313,7 +313,7 @@ std::vector CQuorumManager::ScanQuorums(Consensus::LLMQType llmqTyp auto& params = Params().GetConsensus().llmqs.at(llmqType); auto cacheKey = std::make_pair(llmqType, pindexStart->GetBlockHash()); - const size_t cacheMaxSize = 25; // largest active set + 1 + const size_t cacheMaxSize = params.signingActiveQuorumCount + 1; std::vector result;