mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
fix - slow-down infinity loop for single-node-quorum generation
This commit is contained in:
parent
50eaba5eb2
commit
9ad216a1fc
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user