fix!: GetNumCommitmentsRequired Rotation (#4915)

* Fix in GetNumCommitmentsRequired

* Correction
This commit is contained in:
Odysseas Gabrielides 2022-07-15 00:12:33 +03:00 committed by GitHub
parent 32051a35c0
commit beba663a57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -731,6 +731,8 @@ std::optional<std::vector<CFinalCommitment>> CQuorumBlockProcessor::GetMineableC
break;
}
if (HasMinedCommitment(llmqParams.type, quorumHash)) continue;
LOCK(minableCommitmentsCs);
auto k = std::make_pair(llmqParams.type, quorumHash);