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:
parent
9a4c0403e5
commit
30920610e6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue