fix: handle fresh sync

This commit is contained in:
Cassandra Heart 2023-12-02 00:08:50 -06:00
parent e381165568
commit 6b660d0da7
No known key found for this signature in database
GPG Key ID: 6352152859385958

View File

@ -705,6 +705,9 @@ func (e *CeremonyDataClockConsensusEngine) commitLongestPath(
) )
for _, s := range runningFrames[0][0:] { for _, s := range runningFrames[0][0:] {
if s.FrameNumber == 0 {
continue
}
s := s s := s
txn, err := e.clockStore.NewTransaction() txn, err := e.clockStore.NewTransaction()
if err != nil { if err != nil {