mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
Merge pull request #4942 from UdjinM6/fix_cqmbqr
fix(llmq): Calculate quorum members while not debugging llmq
This commit is contained in:
parent
b504b97a81
commit
3ca5f25a38
@ -161,21 +161,23 @@ std::vector<std::vector<CDeterministicMNCPtr>> CLLMQUtils::ComputeQuorumMembersB
|
||||
LogPrint(BCLog::LLMQ, "QuarterComposition h[%d] i[%d]:%s\n", pCycleQuorumBaseBlockIndex->nHeight, i,
|
||||
ss.str());
|
||||
}
|
||||
}
|
||||
|
||||
for (auto i = 0; i < nQuorums; ++i) {
|
||||
for (auto &m: previousQuarters.quarterHMinus3C[i]) {
|
||||
quorumMembers[i].push_back(std::move(m));
|
||||
}
|
||||
for (auto &m: previousQuarters.quarterHMinus2C[i]) {
|
||||
quorumMembers[i].push_back(std::move(m));
|
||||
}
|
||||
for (auto &m: previousQuarters.quarterHMinusC[i]) {
|
||||
quorumMembers[i].push_back(std::move(m));
|
||||
}
|
||||
for (auto &m: newQuarterMembers[i]) {
|
||||
quorumMembers[i].push_back(std::move(m));
|
||||
}
|
||||
for (auto i = 0; i < nQuorums; ++i) {
|
||||
for (auto &m: previousQuarters.quarterHMinus3C[i]) {
|
||||
quorumMembers[i].push_back(std::move(m));
|
||||
}
|
||||
for (auto &m: previousQuarters.quarterHMinus2C[i]) {
|
||||
quorumMembers[i].push_back(std::move(m));
|
||||
}
|
||||
for (auto &m: previousQuarters.quarterHMinusC[i]) {
|
||||
quorumMembers[i].push_back(std::move(m));
|
||||
}
|
||||
for (auto &m: newQuarterMembers[i]) {
|
||||
quorumMembers[i].push_back(std::move(m));
|
||||
}
|
||||
|
||||
if (LogAcceptCategory(BCLog::LLMQ)) {
|
||||
std::stringstream ss;
|
||||
ss << " [";
|
||||
for (auto &m: quorumMembers[i]) {
|
||||
|
Loading…
Reference in New Issue
Block a user