Add test on TxProposal

This commit is contained in:
Matias Pando 2015-01-27 18:04:46 -03:00
commit f4f4114865
4 changed files with 172 additions and 5 deletions

View file

@ -713,10 +713,6 @@ Wallet.prototype._onData = function(senderId, data, ts) {
this.updateSyncedTimestamp(ts);
console.log('data.type ', data.type);
console.log('this.id ', this.id);
console.log('data.walletId ', data.walletId);
if (data.type !== 'walletId' && this.id !== data.walletId) {
log.debug('Wallet:' + this.id + ' Received corrupt message:', data)
this.emitAndKeepAlive('corrupt', senderId);