validate data

This commit is contained in:
kandrusyak
2022-09-13 18:10:07 +03:00
parent 4f73075cf9
commit 8e5c0a3edc
5 changed files with 68 additions and 12 deletions

View File

@@ -132,7 +132,7 @@ class Store {
networkIdentifier: this.nodeInfo.networkIdentifier,
lastBlockID: this.nodeInfo.lastBlockID,
},
{publickey: pubKey, shared: encryptSharedData(data, this.passPhrase, pubKey)}
{publickey: this.pubKey, shared: encryptSharedData(data, this.passPhrase, pubKey)}
)
.catch((err) => this.throwError(err));
}