add manage page to create/join/import/delete wallets

This commit is contained in:
Matias Alejo Garcia 2014-10-11 17:26:10 -03:00
commit d9cd2e95d4
5 changed files with 36 additions and 9 deletions

View file

@ -202,7 +202,9 @@ Storage.prototype.clearAll = function(cb) {
this.db.clear(cb);
};
Storage.prototype.decrypt = function(base64) {
Storage.prototype.decrypt = function(base64, password) {
// password
var decryptedStr = this._decrypt(base64);
return JSON.parse(decryptedStr);
};