better fix for dkgsessionhandler - missing WAIT()

This commit is contained in:
Konstantin Akimov 2024-12-19 20:55:00 +07:00
parent 24e7f5645a
commit fbd453b473
No known key found for this signature in database
GPG Key ID: 2176C4A5D01EA524

View File

@ -558,6 +558,7 @@ void CDKGSessionHandler::HandleDKGRound(CConnman& connman, PeerManager& peerman)
auto finalCommitment = curSession->FinalizeSingleCommitment(); auto finalCommitment = curSession->FinalizeSingleCommitment();
if (finalCommitment.IsNull()) { if (finalCommitment.IsNull()) {
LogPrintf("final commitment is null here -- is-member=%d\n", curSession->AreWeMember()); LogPrintf("final commitment is null here -- is-member=%d\n", curSession->AreWeMember());
WaitForNextPhase(QuorumPhase::Initialized, QuorumPhase::Contribute, curQuorumHash);
return; return;
} }