mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-10 01:51:11 +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 {
|
if s.isClosed {
|
||||||
return ErrSyncAclClosed
|
return ErrSyncAclClosed
|
||||||
}
|
}
|
||||||
prevHead := s.AclList.Head().PrevId
|
prevHead := s.AclList.Head().Id
|
||||||
err = s.AclList.AddRawRecords(rawRecords)
|
err = s.AclList.AddRawRecords(rawRecords)
|
||||||
if err != nil || s.AclList.Head().Id == prevHead {
|
if err != nil || s.AclList.Head().Id == prevHead {
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue