Skip to content

Commit

Permalink
fix: consolidate
Browse files Browse the repository at this point in the history
Co-authored-by: PastaPastaPasta <[email protected]>
  • Loading branch information
UdjinM6 and PastaPastaPasta authored Nov 27, 2023
1 parent be37a2f commit 67144b0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/llmq/quorums.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1019,8 +1019,7 @@ void CQuorumManager::StartCleanupOldQuorumDataThread(const CBlockIndex* pIndex)
if (quorumThreadInterrupt) {
break;
}
const auto vecQuorums = ScanQuorums(params.type, pIndex, params.keepOldKeys);
for (const auto& pQuorum : vecQuorums) {
for (const auto& pQuorum : ScanQuorums(params.type, pIndex, params.keepOldKeys)) {
dbKeysToSkip.insert(MakeQuorumKey(*pQuorum));
}
}
Expand Down

0 comments on commit 67144b0

Please sign in to comment.