rm Identity#import
This commit is contained in:
parent
a446d3775e
commit
c4c7dc8eb1
5 changed files with 18 additions and 392 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue