fix(routes): unnecessary logging removed

This commit is contained in:
Damian Mee 2014-10-01 02:05:00 +02:00
parent 9ea8af28f8
commit 8eab816b29

View file

@ -103,14 +103,12 @@ function verifyTx(req, res) {
function send(req, res) { function send(req, res) {
plugins.sendBitcoins(getFingerprint(req), req.body, function(err, status) { plugins.sendBitcoins(getFingerprint(req), req.body, function(err, status) {
// TODO: use status.statusCode here after confirming machine compatibility // TODO: use status.statusCode here after confirming machine compatibility
var j = { res.json({
errType: err && err.name, errType: err && err.name,
err: err && err.message, err: err && err.message,
txHash: status && status.txHash, txHash: status && status.txHash,
txId: status && status.txId txId: status && status.txId
}; });
logger.debug('send: %j', j);
res.json(j);
}); });
} }