fix - slow-down infinity loop for single-node-quorum generation

This commit is contained in:
Konstantin Akimov 2024-12-19 20:31:50 +07:00
parent 50eaba5eb2
commit 9ad216a1fc
No known key found for this signature in database
GPG Key ID: 2176C4A5D01EA524

View File

@ -564,6 +564,7 @@ void CDKGSessionHandler::HandleDKGRound(CConnman& connman, PeerManager& peerman)
if (auto inv_opt = quorumBlockProcessor.AddMineableCommitment(finalCommitment); inv_opt.has_value()) { if (auto inv_opt = quorumBlockProcessor.AddMineableCommitment(finalCommitment); inv_opt.has_value()) {
peerman.RelayInv(inv_opt.value()); peerman.RelayInv(inv_opt.value());
} }
WaitForNextPhase(QuorumPhase::Initialized, QuorumPhase::Contribute, curQuorumHash);
return; return;
} }