Skip to content

Commit

Permalink
fix: CheckQuorumConnections should not be running on regular non-watc…
Browse files Browse the repository at this point in the history
…hing nodes
  • Loading branch information
UdjinM6 committed Nov 27, 2023
1 parent 153177c commit 285058a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/llmq/quorums.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,10 @@ void CQuorumManager::StartCheckQuorumConnectionsThreads(const CBlockIndex* pinde

void CQuorumManager::CheckQuorumConnections(const Consensus::LLMQParams& llmqParams, const CBlockIndex* pindexNew) const
{
if (!fMasternodeMode && !utils::IsWatchQuorumsEnabled()) {
return;
}

cxxtimer::Timer t(/*start=*/ true);
LogPrint(BCLog::LLMQ, "CQuorumManager::%s -- llmqType[%d] h[%d] start\n", __func__, ToUnderlying(llmqParams.type), pindexNew->nHeight);

Expand Down

0 comments on commit 285058a

Please sign in to comment.