optimize txp protocol
This commit is contained in:
parent
b7af51ceee
commit
e09d8e11d4
1 changed files with 0 additions and 5 deletions
|
|
@ -125,11 +125,6 @@ Wallet.prototype._handleTxProposal = function(senderId, data) {
|
||||||
var mergeInfo = this.txProposals.merge(inTxp);
|
var mergeInfo = this.txProposals.merge(inTxp);
|
||||||
var added = this.addSeenToTxProposals();
|
var added = this.addSeenToTxProposals();
|
||||||
|
|
||||||
if (mergeInfo.hasChanged || added) {
|
|
||||||
this.log('### BROADCASTING txProposals. ');
|
|
||||||
this.sendTxProposal(inTxp.getID());
|
|
||||||
}
|
|
||||||
|
|
||||||
this.emit('txProposalsUpdated');
|
this.emit('txProposalsUpdated');
|
||||||
this.store();
|
this.store();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue