1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-09 17:45:03 +09:00

More fixes

This commit is contained in:
mcrakhman 2024-01-25 14:44:59 +01:00
parent 9a4c0403e5
commit 30920610e6
No known key found for this signature in database
GPG key ID: DED12CFEF5B8396B

View file

@ -118,7 +118,7 @@ func (s *syncAcl) AddRawRecords(rawRecords []*consensusproto.RawRecordWithId) (e
if s.isClosed {
return ErrSyncAclClosed
}
prevHead := s.AclList.Head().PrevId
prevHead := s.AclList.Head().Id
err = s.AclList.AddRawRecords(rawRecords)
if err != nil || s.AclList.Head().Id == prevHead {
return