diff --git a/src/llmq/quorums.cpp b/src/llmq/quorums.cpp index 201b286df1..f739053b72 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;