fix signin

This commit is contained in:
Matias Alejo Garcia 2014-05-16 18:48:17 -03:00
commit 6fea0a4f6a
4 changed files with 4 additions and 7 deletions

View file

@ -55,12 +55,11 @@ angular.module('copay.controllerUtils')
};
});
w.on('ready', function(myPeerID) {
console.log('## RECEIVED READY.');
video.setOwnPeer(myPeerID, w, handlePeerVideo);
$rootScope.wallet = w;
$location.path('addresses');
$rootScope.$digest();
video.setOwnPeer(myPeerID, w, handlePeerVideo);
});
w.on('publicKeyRingUpdated', function() {
root.setSocketHandlers();
root.updateAddressList();