WIP for automatic network join
This commit is contained in:
parent
ef3c8e2865
commit
d62dbeffca
12 changed files with 73 additions and 76 deletions
|
|
@ -33,7 +33,6 @@ angular.module('copay.setup').controller('SetupController',
|
|||
};
|
||||
var w = walletFactory.create(opts);
|
||||
controllerUtils.setupUxHandlers(w);
|
||||
w.netStart();
|
||||
};
|
||||
|
||||
});
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@ angular.module('copay.signin').controller('SigninController',
|
|||
|
||||
var w = walletFactory.open(walletId);
|
||||
controllerUtils.setupUxHandlers(w);
|
||||
w.netStart();
|
||||
};
|
||||
|
||||
$scope.join = function(cid) {
|
||||
|
|
@ -31,10 +30,7 @@ angular.module('copay.signin').controller('SigninController',
|
|||
controllerUtils.onError($scope);
|
||||
$rootScope.$digest();
|
||||
});
|
||||
walletFactory.connectTo(cid, function(w) {
|
||||
controllerUtils.setupUxHandlers(w);
|
||||
w.netStart();
|
||||
});
|
||||
walletFactory.connectTo(cid, $scope.open.bind($scope));
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue