Comments & code style

This commit is contained in:
Daniel Huigens
2018-07-05 13:44:33 +02:00
parent 1101a05b10
commit ca537e439d
21 changed files with 354 additions and 171 deletions

View File

@@ -36,6 +36,7 @@ function Keyring(storeHandler) {
/**
* Calls the storeHandler to load the keys
* @async
*/
Keyring.prototype.load = async function () {
this.publicKeys = new KeyArray(await this.storeHandler.loadPublic());
@@ -44,6 +45,7 @@ Keyring.prototype.load = async function () {
/**
* Calls the storeHandler to save the keys
* @async
*/
Keyring.prototype.store = async function () {
await Promise.all([