fix import
This commit is contained in:
parent
8d7783cac3
commit
ab9696fdd7
2 changed files with 3 additions and 1 deletions
|
|
@ -81,6 +81,8 @@ angular.module('copayApp.controllers').controller('ImportController',
|
||||||
if (err) {
|
if (err) {
|
||||||
$scope.loading = false;
|
$scope.loading = false;
|
||||||
$scope.error = 'Could not read wallet. Please check your password';
|
$scope.error = 'Could not read wallet. Please check your password';
|
||||||
|
$rootScope.$digest();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
copay.Compatibility.deleteOldWallet(backupOldWallet);
|
copay.Compatibility.deleteOldWallet(backupOldWallet);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -314,7 +314,7 @@ angular.module('copayApp.services')
|
||||||
};
|
};
|
||||||
|
|
||||||
root.importWallet = function(encryptedObj, pass, opts, cb) {
|
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) {
|
root.joinWallet = function(opts, cb) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue