Merge pull request #4942 from UdjinM6/fix_cqmbqr

fix(llmq): Calculate quorum members while not debugging llmq
This commit is contained in:
Odysseas Gabrielides 2022-07-28 13:43:02 +03:00 committed by GitHub
commit 7588c5a441
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -160,21 +160,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]) {