This commit is contained in:
Matias Alejo Garcia 2014-09-09 15:53:47 -03:00
commit 1c5b59a263
2 changed files with 1 additions and 1 deletions

View file

@ -653,7 +653,6 @@ 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);
});

View file

@ -273,6 +273,7 @@ angular.module('copayApp.services')
});
}
// TODO Move this to wallet model!
root.updateGlobalAddresses = function() {
if (!$rootScope.wallet) return;
root.updateAddressList();