handle err
This commit is contained in:
parent
44efc77481
commit
d6e4a70cdc
1 changed files with 2 additions and 0 deletions
|
|
@ -53,7 +53,9 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun
|
||||||
if (analyzeUtxosDone) return;
|
if (analyzeUtxosDone) return;
|
||||||
|
|
||||||
feeService.getFeeLevels(function(err, levels){
|
feeService.getFeeLevels(function(err, levels){
|
||||||
|
if (err) return;
|
||||||
walletService.getLowUtxos($scope.wallet, levels, function(err, resp){
|
walletService.getLowUtxos($scope.wallet, levels, function(err, resp){
|
||||||
|
if (err || !resp) return;
|
||||||
analyzeUtxosDone = true;
|
analyzeUtxosDone = true;
|
||||||
$scope.lowUtxosWarning = resp.warning;
|
$scope.lowUtxosWarning = resp.warning;
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue