Removed 'funds received' notification for change addresses

This commit is contained in:
Ivan Socolsky 2014-09-17 17:34:00 -03:00
commit e0263cf594
3 changed files with 37 additions and 7 deletions

View file

@ -69,8 +69,10 @@ angular.module('copayApp.services')
}
});
w.on('tx', function(address) {
notification.funds('Funds received!', address);
w.on('tx', function(address, isChange) {
if (!isChange) {
notification.funds('Funds received!', address);
}
root.updateBalance(function() {
$rootScope.$digest();
});