This commit is contained in:
Neil Alexander 2022-05-12 12:44:05 +01:00
parent a1c5c1b997
commit 1a39c20a35
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -240,7 +240,7 @@ func (u *latestEventsUpdater) latestState() error {
util.Unique(combinedExtremities)
latestStateAtEvents := make([]types.StateAtEvent, len(combinedExtremities))
for i := range combinedExtremities {
latestStateAtEvents[i] = u.latest[i].StateAtEvent
latestStateAtEvents[i] = combinedExtremities[i].StateAtEvent
}
// Takes the NIDs of the latest events and creates a state snapshot