remove 'serverError' event

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

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;
});