fix commitLongestPath off-by-one

This commit is contained in:
Sedric 2023-10-16 16:36:03 -04:00 committed by sedric
parent 59c550db0f
commit d45a925525
No known key found for this signature in database
GPG Key ID: 5F818321A823B172

View File

@ -810,7 +810,7 @@ func (e *CeremonyDataClockConsensusEngine) commitLongestPath(
}
runningFrames = [][]*protobufs.ClockFrame{
{nextRunningFrames[0][currentDepth+1]},
{nextRunningFrames[0][currentDepth]},
}
currentDepth = 0
} else {