Skip to content

Commit f4491bd

Browse files
author
Chris Kleeschulte
committed
Removed debugging err.
1 parent ac26249 commit f4491bd

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

lib/services/wallet-api/index.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -728,8 +728,6 @@ WalletService.prototype._endpointGetTransactions = function() {
728728

729729
self._getTransactionFromDb(options, txid, function(err, tx) {
730730

731-
err = new Error('this is a test error' + txid);
732-
733731
if(err) {
734732
log.error(err);
735733
txStream.emit('error', err);
@@ -764,9 +762,6 @@ WalletService.prototype._endpointGetTransactions = function() {
764762

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

767-
res.on('end', function() {
768-
console.log('res has ended');
769-
});
770765
});
771766
});
772767
};

regtest/utils.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,6 @@ utils.getListOfTxs = function(opts, callback) {
347347

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

350-
console.log(err, res);
351350
if(err) {
352351
return callback(err);
353352
}

0 commit comments

Comments
 (0)