mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
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:
parent
e542c49f70
commit
2f83b6ae25
@ -1607,7 +1607,7 @@ void CSigSharesManager::Sign(const CQuorumCPtr& quorum, const uint256& id, const
|
|||||||
// causes all known sigShares to be re-announced
|
// causes all known sigShares to be re-announced
|
||||||
void CSigSharesManager::ForceReAnnouncement(const CQuorumCPtr& quorum, Consensus::LLMQType llmqType, const uint256& id, const uint256& msgHash)
|
void CSigSharesManager::ForceReAnnouncement(const CQuorumCPtr& quorum, Consensus::LLMQType llmqType, const uint256& id, const uint256& msgHash)
|
||||||
{
|
{
|
||||||
if (!CLLMQUtils::IsAllMembersConnectedEnabled(llmqType)) {
|
if (CLLMQUtils::IsAllMembersConnectedEnabled(llmqType)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user