mirror of https://github.com/BTCPrivate/copay.git
fix import
This commit is contained in:
parent
8d7783cac3
commit
ab9696fdd7
|
@ -81,6 +81,8 @@ angular.module('copayApp.controllers').controller('ImportController',
|
|||
if (err) {
|
||||
$scope.loading = false;
|
||||
$scope.error = 'Could not read wallet. Please check your password';
|
||||
$rootScope.$digest();
|
||||
return;
|
||||
}
|
||||
copay.Compatibility.deleteOldWallet(backupOldWallet);
|
||||
});
|
||||
|
|
|
@ -314,7 +314,7 @@ angular.module('copayApp.services')
|
|||
};
|
||||
|
||||
root.importWallet = function(encryptedObj, pass, opts, cb) {
|
||||
copay.Compatibility.importEncryptedWallet($rootScope.iden, encryptedObj, pass, opts);
|
||||
copay.Compatibility.importEncryptedWallet($rootScope.iden, encryptedObj, pass, opts, cb);
|
||||
};
|
||||
|
||||
root.joinWallet = function(opts, cb) {
|
||||
|
|
Loading…
Reference in New Issue