adds pending txs service

This commit is contained in:
Matias Alejo Garcia 2014-11-30 11:08:51 -03:00
commit b73f711fff
5 changed files with 19 additions and 8 deletions

View file

@ -55,8 +55,6 @@ angular.module('copayApp.controllers').controller('SendController',
}
});
$scope.txps = res.txs;
// TODO
// $rootScope.pendingTxCount = res.pendingForUs;
};
/**
@ -100,7 +98,8 @@ angular.module('copayApp.controllers').controller('SendController',
});
$scope.loadTxs = function() {
$scope.init = function() {
$rootScope.pendingTxCount = 0;
$scope.updateTxs();
setTimeout(function() {
$scope.loading = false;