Fix bugs with storage

This commit is contained in:
mcrakhman committed 2022-10-20 16:02:16 +02:00
1 parent efa3acc368
commit f21f05585c
6 files changed
+64 -5

No files matched your search

+2 -1
View File
@@ -71,7 +71,8 @@ func (t *textDocument) AddText(text string) (err error) {
if err != nil {
return
}
t.objTree.Lock()
defer t.objTree.Unlock()
_, err = t.objTree.AddContent(context.Background(), tree.SignableChangeContent{
Data: res,
Key: t.account.Account().SignKey,