rm Identity#import

This commit is contained in:
Matias Alejo Garcia 2014-09-27 17:14:49 -03:00
commit c4c7dc8eb1
5 changed files with 18 additions and 392 deletions

View file

@ -30,7 +30,7 @@ angular.module('copayApp.controllers').controller('ImportController',
// try to import encrypted wallet with passphrase
try {
w = identity.import(encryptedObj, passphrase, skipFields);
w = identity.fromEncryptedObj(encryptedObj, passphrase, skipFields);
} catch (e) {
errMsg = e.message;
}