remove 'serverError' event
This commit is contained in:
parent
605e2c7d49
commit
1b783df70a
2 changed files with 0 additions and 8 deletions
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue