mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-08 05:57:03 +09:00
Fix misplaced hashes
This commit is contained in:
parent
ef98550e9e
commit
25bd9ca4a4
1 changed files with 2 additions and 2 deletions
|
@ -151,8 +151,8 @@ func (s *stateStorage) stateFromDoc(doc anystore.Doc) State {
|
||||||
SpaceId: doc.Value().GetString(idKey),
|
SpaceId: doc.Value().GetString(idKey),
|
||||||
SettingsId: doc.Value().GetString(settingsIdKey),
|
SettingsId: doc.Value().GetString(settingsIdKey),
|
||||||
AclId: doc.Value().GetString(aclIdKey),
|
AclId: doc.Value().GetString(aclIdKey),
|
||||||
OldHash: doc.Value().GetString(newHashKey),
|
OldHash: doc.Value().GetString(oldHashKey),
|
||||||
NewHash: doc.Value().GetString(oldHashKey),
|
NewHash: doc.Value().GetString(newHashKey),
|
||||||
LegacyHash: doc.Value().GetString(legacyHashKey),
|
LegacyHash: doc.Value().GetString(legacyHashKey),
|
||||||
SpaceHeader: doc.Value().GetBytes(headerKey),
|
SpaceHeader: doc.Value().GetBytes(headerKey),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue