better sync for peers

This commit is contained in:
Matias Alejo Garcia 2014-04-20 17:16:21 -03:00
commit fe0cccd801
4 changed files with 9 additions and 5 deletions

View file

@ -34,7 +34,6 @@ console.log('[controllerUtils.js.30:created:] RECV '); //TODO
$rootScope.wallet.getBalance(function(balance) {
$rootScope.totalBalance = balance;
$rootScope.$digest();
});
});
w.on('refresh', function() {
@ -43,6 +42,8 @@ console.log('[controllerUtils.js.30:created:] RECV '); //TODO
});
w.on('openError', root.onErrorDigest);
w.on('close', root.onErrorDigest);
console.log('[controllerUtils.js.45] CALLING NETSTART FROM setupUxHandlers'); //TODO
w.netStart();
console.log('[controllerUtils.js.45] setupUxHandlers END'); //TODO
};