mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
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;
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user