new backup/import encrypted methods
This commit is contained in:
parent
c995f039c2
commit
76df93ab10
3 changed files with 14 additions and 7 deletions
|
|
@ -8,7 +8,7 @@ angular.module('copay.backup').controller('BackupController',
|
|||
|
||||
// TODO: get the real encrypted wallet.
|
||||
var _getEncryptedWallet = function() {
|
||||
var wallet = JSON.stringify($rootScope.wallet.toObj());
|
||||
var wallet = $rootScope.wallet.toEncryptedObj();
|
||||
return wallet;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue