add updateIndex to model
This commit is contained in:
parent
45e44fba19
commit
0da641d1b8
4 changed files with 31 additions and 16 deletions
|
|
@ -36,10 +36,7 @@ angular.module('copayApp.controllers').controller('ImportController',
|
|||
$scope.error = 'Could not read wallet. Please check your password';
|
||||
} else {
|
||||
controllerUtils.installWalletHandlers($scope, wallet);
|
||||
updateStatus('Importing wallet - Scanning for transactions...');
|
||||
wallet.updateIndexes(function(err) {
|
||||
controllerUtils.setFocusedWallet(wallet);
|
||||
});
|
||||
controllerUtils.setFocusedWallet(wallet);
|
||||
}
|
||||
}
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue