removed stupid useless progress function!?

This commit is contained in:
Kadir Sekha 2018-02-07 11:44:27 -04:00
commit e1667d0780

View file

@ -161,23 +161,12 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun
var updateTxHistory = function(cb) {
if (!cb) cb = function() {};
$scope.updateTxHistoryError = false;
$scope.updatingTxHistoryProgress = 0;
var progressFn = function(txs, newTxs) {
$scope.updatingTxHistoryProgress = newTxs;
$scope.completeTxHistory = txs;
$scope.showHistory();
$timeout(function() {
$scope.$apply();
});
};
feeService.getFeeLevels($scope.wallet.coin, function(err, levels) {
walletService.getTxHistory($scope.wallet, {
progressFn: progressFn,
feeLevels: levels,
feeLevels: levels
}, function(err, txHistory) {
$scope.updatingTxHistory = false;
if (err) {