Skip to content

Commit 5977486

Browse files
authored
Bring back ResetLocalSessionStatus call (#2639)
It was dropped accidentally on refactoring.
1 parent d2ddc2a commit 5977486

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/llmq/quorums_dkgsessionhandler.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,9 @@ void CDKGSessionHandler::UpdatedBlockTip(const CBlockIndex* pindexNew, const CBl
124124
int phaseInt = quorumStageInt / params.dkgPhaseBlocks;
125125
if (fNewPhase && phaseInt >= QuorumPhase_Initialized && phaseInt <= QuorumPhase_Idle) {
126126
phase = static_cast<QuorumPhase>(phaseInt);
127+
if (phase == QuorumPhase_Initialized) {
128+
quorumDKGDebugManager->ResetLocalSessionStatus(params.type, quorumHash, quorumHeight);
129+
}
127130
}
128131

129132
quorumDKGDebugManager->UpdateLocalStatus([&](CDKGDebugStatus& status) {

0 commit comments

Comments
 (0)