handle err

This commit is contained in:
Matias Alejo Garcia 2017-06-23 12:11:54 -03:00
parent 44efc77481
commit d6e4a70cdc
No known key found for this signature in database
GPG Key ID: 02470DB551277AB3
1 changed files with 2 additions and 0 deletions

View File

@ -53,7 +53,9 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun
if (analyzeUtxosDone) return;
feeService.getFeeLevels(function(err, levels){
if (err) return;
walletService.getLowUtxos($scope.wallet, levels, function(err, resp){
if (err || !resp) return;
analyzeUtxosDone = true;
$scope.lowUtxosWarning = resp.warning;
});