wallet and profile backup working on the UX
This commit is contained in:
parent
e1b9f4f859
commit
7a463c9a9d
5 changed files with 32 additions and 25 deletions
|
|
@ -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);
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue