Skip to content

Commit ffdcb56

Browse files
committed
refactor: remove duplicated code between QuorumRole's UpdatedBlockTip and InitializeQuorumConnections
1 parent 127866e commit ffdcb56

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/llmq/quorumsman.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -800,10 +800,7 @@ void QuorumRole::UpdatedBlockTip(const CBlockIndex* pindexNew, bool fInitialDown
800800
if (!pindexNew) return;
801801
if (!m_mn_sync.IsBlockchainSynced()) return;
802802

803-
for (const auto& params : Params().GetConsensus().llmqs) {
804-
CheckQuorumConnections(params, pindexNew);
805-
}
806-
803+
InitializeQuorumConnections(pindexNew);
807804
m_qman.CleanupExpiredDataRequests();
808805

809806
TriggerQuorumDataRecoveryThreads(pindexNew);

0 commit comments

Comments
 (0)