remove 'serverError' event

This commit is contained in:
Manuel Araoz 2014-08-19 10:32:51 -04:00
parent 605e2c7d49
commit 1b783df70a
2 changed files with 0 additions and 8 deletions

View File

@ -431,9 +431,6 @@ Wallet.prototype.netStart = function(callback) {
net.on('connect', self._onConnect.bind(self));
net.on('disconnect', self._onDisconnect.bind(self));
net.on('data', self._onData.bind(self));
net.on('serverError', function(msg) {
self.emit('serverError', msg);
});
var myId = self.getMyCopayerId();
var myIdPriv = self.getMyCopayerIdPriv();

View File

@ -59,11 +59,6 @@ angular.module('copayApp.services')
notification.error('PeerJS Error', message);
root.onErrorDigest($scope);
});
wallet.on('serverError', function(m) {
var message = m || 'The PeerJS server is not responding, please try again';
$location.path('receive');
root.onErrorDigest($scope, message);
});
wallet.on('ready', function() {
$scope.loading = false;
});