Skip to content

Commit

Permalink
Removed debugging err.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Kleeschulte committed Jun 7, 2017
1 parent ac26249 commit f4491bd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions lib/services/wallet-api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -764,9 +762,6 @@ WalletService.prototype._endpointGetTransactions = function() {

dbStream.pipe(txStream).pipe(res);

res.on('end', function() {
console.log('res has ended');
});
});
});
};
Expand Down
1 change: 0 additions & 1 deletion regtest/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,6 @@ utils.getListOfTxs = function(opts, callback) {

self.queryBitcoreNode(httpOpts, function(err, res) {

console.log(err, res);
if(err) {
return callback(err);
}
Expand Down

0 comments on commit f4491bd

Please sign in to comment.