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

@ -20,7 +20,6 @@ angular.module('copay.signin').controller('SigninController',
console.log('[signin.js.23:walletId:]',walletId); //TODO
var w = walletFactory.open(walletId, opts);
controllerUtils.setupUxHandlers(w);
w.netStart();
};
$scope.join = function(secret) {
@ -34,7 +33,6 @@ console.log('[signin.js.23:walletId:]',walletId); //TODO
walletFactory.joinCreateSession(secret, function(w) {
console.log('[signin.js.33] joinCreateSession RETURN', w); //TODO
controllerUtils.setupUxHandlers(w);
w.setupNetHandlers();
});
};