refactored disconnect as one more message

This commit is contained in:
Manuel Araoz 2014-08-19 11:38:53 -04:00
commit f219da9740
3 changed files with 18 additions and 29 deletions

View file

@ -120,8 +120,8 @@ angular.module('copayApp.services')
notification.enableHtml5Mode(); // for chrome: if support, enable it
w.on('badMessage', function(peerId) {
notification.error('Error', 'Received wrong message from peer ' + peerId);
w.on('corrupt', function(peerId) {
notification.error('Error', 'Received corrupt message from ' + peerId);
});
w.on('ready', function(myPeerID) {
$rootScope.wallet = w;