Skip to content

Commit

Permalink
Bring back ResetLocalSessionStatus call (#2639)
Browse files Browse the repository at this point in the history
It was dropped accidentally on refactoring.
  • Loading branch information
UdjinM6 committed Jan 23, 2019
1 parent d2ddc2a commit 5977486
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/llmq/quorums_dkgsessionhandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 5977486

Please sign in to comment.