From 9ad216a1fc43a77d0a775b8a8b82806c1a72e8ce Mon Sep 17 00:00:00 2001 From: Konstantin Akimov Date: Thu, 19 Dec 2024 20:31:50 +0700 Subject: [PATCH] fix - slow-down infinity loop for single-node-quorum generation --- src/llmq/dkgsessionhandler.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/llmq/dkgsessionhandler.cpp b/src/llmq/dkgsessionhandler.cpp index edfe8c3edd..8f4b961058 100644 --- a/src/llmq/dkgsessionhandler.cpp +++ b/src/llmq/dkgsessionhandler.cpp @@ -564,6 +564,7 @@ void CDKGSessionHandler::HandleDKGRound(CConnman& connman, PeerManager& peerman) if (auto inv_opt = quorumBlockProcessor.AddMineableCommitment(finalCommitment); inv_opt.has_value()) { peerman.RelayInv(inv_opt.value()); } + WaitForNextPhase(QuorumPhase::Initialized, QuorumPhase::Contribute, curQuorumHash); return; }