mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
parent
b8c9eec34f
commit
fafb1b2ac8
@ -365,14 +365,14 @@ std::vector<std::vector<CDeterministicMNCPtr>> CLLMQUtils::GetQuorumQuarterMembe
|
||||
std::move(sortedMnsUsedAtH.begin(), sortedMnsUsedAtH.end(), std::back_inserter(sortedCombinedMns));
|
||||
}
|
||||
|
||||
if (sortedCombinedMns.empty()) return {};
|
||||
|
||||
auto numQuorums = size_t(llmqParams.signingActiveQuorumCount);
|
||||
auto quorumSize = size_t(llmqParams.size);
|
||||
auto quarterSize = quorumSize / 4;
|
||||
|
||||
std::vector<std::vector<CDeterministicMNCPtr>> quarterQuorumMembers(numQuorums);
|
||||
|
||||
if (sortedCombinedMns.empty()) return quarterQuorumMembers;
|
||||
|
||||
switch (snapshot.mnSkipListMode) {
|
||||
case SnapshotSkipMode::MODE_NO_SKIPPING:
|
||||
{
|
||||
@ -421,7 +421,7 @@ std::vector<std::vector<CDeterministicMNCPtr>> CLLMQUtils::GetQuorumQuarterMembe
|
||||
case SnapshotSkipMode::MODE_NO_SKIPPING_ENTRIES: // List holds entries to be kept
|
||||
case SnapshotSkipMode::MODE_ALL_SKIPPED: // Every node was skipped. Returning empty quarterQuorumMembers
|
||||
default:
|
||||
return {};
|
||||
return quarterQuorumMembers;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user