llmq: Fix spork check in CSigSharesManager::ForceReAnnouncement (#3650)

It seems like the idea here was to avoid announcing already available sigshares for a signhash to everyone if concentrated recovery is enabled. But by returning there if `IsAllMembersConnectedEnabled` equals to `false` we disable the re-announcements prior to the spork activation, where we want to still have them and re-enable if the spork is enabled where we don't want to have them.
This commit is contained in:
dustinface 2020-08-09 23:36:52 +02:00 committed by GitHub
parent e542c49f70
commit 2f83b6ae25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1607,7 +1607,7 @@ void CSigSharesManager::Sign(const CQuorumCPtr& quorum, const uint256& id, const
// causes all known sigShares to be re-announced
void CSigSharesManager::ForceReAnnouncement(const CQuorumCPtr& quorum, Consensus::LLMQType llmqType, const uint256& id, const uint256& msgHash)
{
if (!CLLMQUtils::IsAllMembersConnectedEnabled(llmqType)) {
if (CLLMQUtils::IsAllMembersConnectedEnabled(llmqType)) {
return;
}