Bring back ResetLocalSessionStatus call (#2639)

It was dropped accidentally on refactoring.
This commit is contained in:
UdjinM6 2019-01-23 11:34:31 +03:00 committed by GitHub
parent d2ddc2a008
commit 5977486897
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,6 +124,9 @@ void CDKGSessionHandler::UpdatedBlockTip(const CBlockIndex* pindexNew, const CBl
int phaseInt = quorumStageInt / params.dkgPhaseBlocks;
if (fNewPhase && phaseInt >= QuorumPhase_Initialized && phaseInt <= QuorumPhase_Idle) {
phase = static_cast<QuorumPhase>(phaseInt);
if (phase == QuorumPhase_Initialized) {
quorumDKGDebugManager->ResetLocalSessionStatus(params.type, quorumHash, quorumHeight);
}
}
quorumDKGDebugManager->UpdateLocalStatus([&](CDKGDebugStatus& status) {