fix "hello" for authenticated peers

This commit is contained in:
Matias Alejo Garcia 2014-04-30 14:28:33 -03:00
commit 6cf8988eae
2 changed files with 10 additions and 7 deletions

View file

@ -88,6 +88,7 @@ angular.module('copay.controllerUtils')
root.setSocketHandlers = function() {
Socket.removeAllListeners();
if (!$rootScope.wallet) return;
var addrs = $rootScope.wallet.getAddressesStr();
for (var i = 0; i < addrs.length; i++) {