mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 13:03:17 +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;
|
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