Fix importing partial backup

This commit is contained in:
Yemel Jardi 2014-07-08 16:47:00 -03:00
commit 774f9e4def
2 changed files with 7 additions and 1 deletions

View file

@ -31,6 +31,12 @@ angular.module('copayApp.controllers').controller('ImportController',
return;
}
if (!w.isReady()) {
$rootScope.wallet = w;
controllerUtils.startNetwork($rootScope.wallet, $scope);
return;
}
w.updateIndexes(function(err) {
updateStatus('Importing wallet - We are almost there...');
if (err) {