add seenBy fix

This commit is contained in:
Manuel Araoz 2014-06-19 12:38:21 -03:00
parent 6252047cd3
commit f4a5202a99
1 changed files with 5 additions and 0 deletions

View File

@ -125,6 +125,11 @@ Wallet.prototype._handleTxProposal = function(senderId, data) {
var mergeInfo = this.txProposals.merge(inTxp, senderId);
var added = this.addSeenToTxProposals();
if (added) {
this.log('### BROADCASTING txProposals with my seenBy updated.');
this.sendTxProposal(inTxp.getID());
}
this.emit('txProposalsUpdated');
this.store();