1
0
Fork 0
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:
mcrakhman 2023-04-18 00:34:14 +02:00 committed by Mikhail Iudin
parent 520c9717ca
commit 07b16554cd
No known key found for this signature in database
GPG key ID: FAAAA8BAABDFF1C0
20 changed files with 248 additions and 220 deletions

View file

@ -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
},