From f4491bd0d8392942ffe443ce4a3950fcd0843df3 Mon Sep 17 00:00:00 2001 From: Chris Kleeschulte Date: Wed, 7 Jun 2017 14:30:10 -0400 Subject: [PATCH] Removed debugging err. --- lib/services/wallet-api/index.js | 5 ----- regtest/utils.js | 1 - 2 files changed, 6 deletions(-) diff --git a/lib/services/wallet-api/index.js b/lib/services/wallet-api/index.js index 6c61b898..b47b8255 100644 --- a/lib/services/wallet-api/index.js +++ b/lib/services/wallet-api/index.js @@ -728,8 +728,6 @@ WalletService.prototype._endpointGetTransactions = function() { self._getTransactionFromDb(options, txid, function(err, tx) { - err = new Error('this is a test error' + txid); - if(err) { log.error(err); txStream.emit('error', err); @@ -764,9 +762,6 @@ WalletService.prototype._endpointGetTransactions = function() { dbStream.pipe(txStream).pipe(res); - res.on('end', function() { - console.log('res has ended'); - }); }); }); }; diff --git a/regtest/utils.js b/regtest/utils.js index c794360c..28264350 100644 --- a/regtest/utils.js +++ b/regtest/utils.js @@ -347,7 +347,6 @@ utils.getListOfTxs = function(opts, callback) { self.queryBitcoreNode(httpOpts, function(err, res) { -console.log(err, res); if(err) { return callback(err); }