|
@ -1101,7 +1101,9 @@ WalletService.prototype.getBalance = function(opts, cb) { |
|
|
if (err) return; |
|
|
if (err) return; |
|
|
if (!_.isEqual(partialBalance, fullBalance)) { |
|
|
if (!_.isEqual(partialBalance, fullBalance)) { |
|
|
log.debug('Cache miss: balance in active addresses differs from final balance'); |
|
|
log.debug('Cache miss: balance in active addresses differs from final balance'); |
|
|
self._notify('BalanceUpdated', fullBalance); |
|
|
self._notify('BalanceUpdated', fullBalance, { |
|
|
|
|
|
isGlobal: true |
|
|
|
|
|
}); |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
}, 1); |
|
|
}, 1); |
|
|