Removed debugging err.
This commit is contained in:
parent
ac26249c40
commit
f4491bd0d8
@ -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');
|
||||
});
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
@ -347,7 +347,6 @@ utils.getListOfTxs = function(opts, callback) {
|
||||
|
||||
self.queryBitcoreNode(httpOpts, function(err, res) {
|
||||
|
||||
console.log(err, res);
|
||||
if(err) {
|
||||
return callback(err);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user