wallet and profile backup working on the UX

This commit is contained in:
Matias Alejo Garcia 2014-10-16 10:18:37 -03:00
commit 7a463c9a9d
5 changed files with 32 additions and 25 deletions

View file

@ -1171,7 +1171,7 @@ Wallet.fromObj = function(o, readOpts) {
*/
Wallet.prototype.toEncryptedObj = function() {
var walletObj = this.toObj();
return this.storage.export(walletObj);
return this.storage.encrypt(walletObj);
};
/**