diff --git a/js/models/core/Wallet.js b/js/models/core/Wallet.js index 14544d1f6..6000057a2 100644 --- a/js/models/core/Wallet.js +++ b/js/models/core/Wallet.js @@ -91,6 +91,8 @@ Wallet.prototype.seedCopayer = function(pubKey) { // not being used now Wallet.prototype.connectToAll = function() { + // not being used now + return; var all = this.publicKeyRing.getAllCopayerIds(); this.network.connectToCopayers(all); diff --git a/js/models/network/Async.js b/js/models/network/Async.js index b5fd72fba..684b8e255 100644 --- a/js/models/network/Async.js +++ b/js/models/network/Async.js @@ -196,7 +196,6 @@ Network.prototype._onMessage = function(enc) { var payload = decoded.payload; } catch (e) { - alert('caught :' + e); this._deletePeer(sender); return; }