diff --git a/js/controllers/join.js b/js/controllers/join.js index 37fbf3a70..2a9ee0c51 100644 --- a/js/controllers/join.js +++ b/js/controllers/join.js @@ -118,7 +118,6 @@ angular.module('copayApp.controllers').controller('JoinController', } $scope.loading = true; - walletFactory.network.on('badSecret', function() {}); Passphrase.getBase64Async($scope.joinPassword, function(passphrase) { walletFactory.joinCreateSession($scope.connectionId, $scope.nickname, passphrase, $scope.private, function(err, w) { diff --git a/test/unit/controllers/controllersSpec.js b/test/unit/controllers/controllersSpec.js index cb48f2789..38bd1f6a1 100644 --- a/test/unit/controllers/controllersSpec.js +++ b/test/unit/controllers/controllersSpec.js @@ -357,11 +357,6 @@ describe("Unit: Controllers", function() { scope.$apply(); }); - it('should return networkName', function() { - $httpBackend.flush(); // need flush - var networkName = scope.networkName; - expect(networkName).equal('testnet'); - }); }); describe("Unit: Sidebar Controller", function() {