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

Fix handshake tests

This commit is contained in:
mcrakhman 2023-03-26 13:45:24 +02:00 committed by Mikhail Iudin
parent 52f462ff2c
commit 4efe189eec
No known key found for this signature in database
GPG key ID: FAAAA8BAABDFF1C0
11 changed files with 56 additions and 57 deletions

View file

@ -19,18 +19,17 @@ type Change struct {
AclHeadId string
Id string
SnapshotId string
IsSnapshot bool
Timestamp int64
ReadKeyId string
Identity crypto.PubKey
Data []byte
Model interface{}
Signature []byte
// iterator helpers
visited bool
branchesFinished bool
Signature []byte
IsSnapshot bool
}
func NewChange(id string, identity crypto.PubKey, ch *treechangeproto.TreeChange, signature []byte) *Change {