Bring back ResetLocalSessionStatus call (#2639)
It was dropped accidentally on refactoring.
This commit is contained in:
parent
d2ddc2a008
commit
5977486897
@ -124,6 +124,9 @@ void CDKGSessionHandler::UpdatedBlockTip(const CBlockIndex* pindexNew, const CBl
|
|||||||
int phaseInt = quorumStageInt / params.dkgPhaseBlocks;
|
int phaseInt = quorumStageInt / params.dkgPhaseBlocks;
|
||||||
if (fNewPhase && phaseInt >= QuorumPhase_Initialized && phaseInt <= QuorumPhase_Idle) {
|
if (fNewPhase && phaseInt >= QuorumPhase_Initialized && phaseInt <= QuorumPhase_Idle) {
|
||||||
phase = static_cast<QuorumPhase>(phaseInt);
|
phase = static_cast<QuorumPhase>(phaseInt);
|
||||||
|
if (phase == QuorumPhase_Initialized) {
|
||||||
|
quorumDKGDebugManager->ResetLocalSessionStatus(params.type, quorumHash, quorumHeight);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
quorumDKGDebugManager->UpdateLocalStatus([&](CDKGDebugStatus& status) {
|
quorumDKGDebugManager->UpdateLocalStatus([&](CDKGDebugStatus& status) {
|
||||||
|
Loading…
Reference in New Issue
Block a user