From 33ac84bc4900dc13b1a6ca44bc3819f80b2aaf7f Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Wed, 13 Aug 2014 10:16:07 -0400 Subject: [PATCH] rm logs --- js/models/core/Wallet.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/js/models/core/Wallet.js b/js/models/core/Wallet.js index 97b2e247a..015b46ad9 100644 --- a/js/models/core/Wallet.js +++ b/js/models/core/Wallet.js @@ -134,7 +134,7 @@ Wallet.prototype._handlePublicKeyRing = function(senderId, data, isInbound) { try { hasChanged = this.publicKeyRing.merge(inPKR, true); } catch (e) { - this.log('## WALLET ERROR', e); //TODO + this.log('## WALLET ERROR', e); this.emit('connectionError', e.message); return; } @@ -328,9 +328,10 @@ Wallet.prototype._handleData = function(senderId, data, isInbound) { if (data.type !== 'walletId' && this.id !== data.walletId) { this.emit('badMessage', senderId); - this.log('badMessage FROM:', senderId); //TODO + this.log('badMessage FROM:', senderId); return; } + switch (data.type) { // This handler is repeaded on WalletFactory (#join). TODO case 'walletId': @@ -433,8 +434,6 @@ Wallet.prototype.netStart = function(callback) { var net = this.network; if (this.checkAndLock() && !this.ignoreLock) { - -console.log('[Wallet.js.436] LOCKED' ); //TODO this.emit('locked'); return; } @@ -752,7 +751,6 @@ Wallet.prototype.sendTx = function(ntxid, cb) { } else { self.log('Sent failed. Checking is the TX was sent already'); self._checkSentTx(ntxid, function(txid) { - console.log('[Wallet.js.730:txid:]', txid); //TODO if (txid) self.store();