Removed 'funds received' notification for change addresses
This commit is contained in:
parent
e2af5ac782
commit
e0263cf594
3 changed files with 37 additions and 7 deletions
|
|
@ -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();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue