Alert when incoming transaction (not proposal)

This commit is contained in:
Gustavo Cortez 2014-05-20 14:31:00 -03:00
commit edb3e75800
3 changed files with 13 additions and 0 deletions

View file

@ -192,6 +192,7 @@ angular.module('copay.controllerUtils')
newAddrs.forEach(function(addr) {
Socket.on(addr, function(txid) {
console.log('Received!', txid);
$rootScope.receivedFund = [txid, addr];
root.updateBalance(function(){
$rootScope.$digest();
});