refactored disconnect as one more message
This commit is contained in:
parent
789388af3c
commit
f219da9740
3 changed files with 18 additions and 29 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue