This commit is contained in:
Gabriel Bazán 2016-09-14 11:08:47 -03:00
commit caeac6045c

View file

@ -870,12 +870,15 @@ angular.module('copayApp.services')
if (err) { if (err) {
$log.warn('Error updating notifications:' + err); $log.warn('Error updating notifications:' + err);
} else { } else {
var n = lodash.filter(wallet.cachedActivity.n, function(x) {
var n;
n = lodash.filter(wallet.cachedActivity.n, function(x) {
return !typeFilter1[x.type]; return !typeFilter1[x.type];
}); });
if (wallet.m == 1) { if (wallet.m == 1) {
var n = lodash.filter(n, function(x) { n = lodash.filter(n, function(x) {
return !typeFilter2[x.type]; return !typeFilter2[x.type];
}); });
} }