mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-08 05:57:03 +09:00
Change treegetter to treemanager and return BuildObjectTreeFunc
This commit is contained in:
parent
520c9717ca
commit
07b16554cd
20 changed files with 248 additions and 220 deletions
|
@ -84,7 +84,7 @@ func NewEmptyDataBuilder(keys crypto.KeyStorage, rootChange *treechangeproto.Raw
|
|||
rootChange: rootChange,
|
||||
keys: keys,
|
||||
newChange: func(id string, identity crypto.PubKey, ch *treechangeproto.TreeChange, signature []byte) *Change {
|
||||
c := NewChange(id, identity, ch, signature)
|
||||
c := NewChange(id, identity, ch, nil)
|
||||
c.Data = nil
|
||||
return c
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue