export decrypted wallet

This commit is contained in:
Javier 2016-10-12 14:57:02 -03:00
commit 81a49586fb
2 changed files with 3 additions and 2 deletions

View file

@ -872,7 +872,7 @@ angular.module('copayApp.services').factory('walletService', function($log, $tim
if (!password) return cb('no password');
if (!wallet.checkPassword(password)) return cb('wrong password');
wallet.credentials.decryptPrivateKey(password);
return cb(null, password);
});
};