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

Test fixes

This commit is contained in:
mcrakhman 2024-06-17 22:35:05 +02:00
parent 8de351a303
commit d6f75498de
No known key found for this signature in database
GPG key ID: DED12CFEF5B8396B
3 changed files with 8 additions and 6 deletions

View file

@ -67,7 +67,7 @@ type changeBuilder struct {
}
func NewChangeBuilder(keys crypto.KeyStorage, rootChange *treechangeproto.RawTreeChangeWithId) ChangeBuilder {
return &changeBuilder{keys: keys, rootChange: rootChange, newChange: NewChange}
return &changeBuilder{keys: keys, rootChange: rootChange, newChange: NewChange, rawTreeCh: &treechangeproto.RawTreeChange{}}
}
func (c *changeBuilder) Unmarshall(rawIdChange *treechangeproto.RawTreeChangeWithId, verify bool) (ch *Change, err error) {