fix safeUnspents report

This commit is contained in:
Matias Alejo Garcia 2014-06-05 14:55:19 -03:00
commit c64bf07ae3
6 changed files with 19 additions and 13 deletions

View file

@ -174,7 +174,6 @@ angular.module('copayApp.services')
};
root._setCommError = function(e) {
// first error ever?
if ($rootScope.insightError<0)
$rootScope.insightError=0;
$rootScope.insightError++;
@ -182,7 +181,10 @@ angular.module('copayApp.services')
root._clearCommError = function(e) {
$rootScope.insightError=0;
if ($rootScope.insightError>0)
$rootScope.insightError=-1;
else
$rootScope.insightError=0;
};
root.setSocketHandlers = function() {