fix received
This commit is contained in:
parent
b5b7acd5a4
commit
255affe382
3 changed files with 4 additions and 3 deletions
|
|
@ -653,6 +653,7 @@ Wallet.prototype._setBlockchainListeners = function() {
|
|||
this.blockchain.on('disconnect', self.emit.bind(self,'networkError'));
|
||||
|
||||
this.blockchain.on('tx', function(tx) {
|
||||
console.log('[Wallet.js.655:tx:]',tx); //TODO
|
||||
self.emit('tx', tx.address);
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -70,8 +70,8 @@ angular.module('copayApp.services')
|
|||
}
|
||||
});
|
||||
|
||||
w.on('tx', function() {
|
||||
notification.funds('Funds received!', tx.address);
|
||||
w.on('tx', function(address) {
|
||||
notification.funds('Funds received!', address);
|
||||
root.updateBalance(function() {
|
||||
$rootScope.$digest();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue