From e09d8e11d4c890a0c99b99218cf3ea016f6a0a01 Mon Sep 17 00:00:00 2001 From: Manuel Araoz Date: Wed, 18 Jun 2014 10:35:33 -0300 Subject: [PATCH] optimize txp protocol --- js/models/core/Wallet.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/js/models/core/Wallet.js b/js/models/core/Wallet.js index b997913a6..528c0ffa4 100644 --- a/js/models/core/Wallet.js +++ b/js/models/core/Wallet.js @@ -125,11 +125,6 @@ Wallet.prototype._handleTxProposal = function(senderId, data) { var mergeInfo = this.txProposals.merge(inTxp); var added = this.addSeenToTxProposals(); - if (mergeInfo.hasChanged || added) { - this.log('### BROADCASTING txProposals. '); - this.sendTxProposal(inTxp.getID()); - } - this.emit('txProposalsUpdated'); this.store();