fix(routes): unnecessary logging removed
This commit is contained in:
parent
9ea8af28f8
commit
8eab816b29
1 changed files with 2 additions and 4 deletions
|
|
@ -103,14 +103,12 @@ function verifyTx(req, res) {
|
|||
function send(req, res) {
|
||||
plugins.sendBitcoins(getFingerprint(req), req.body, function(err, status) {
|
||||
// TODO: use status.statusCode here after confirming machine compatibility
|
||||
var j = {
|
||||
res.json({
|
||||
errType: err && err.name,
|
||||
err: err && err.message,
|
||||
txHash: status && status.txHash,
|
||||
txId: status && status.txId
|
||||
};
|
||||
logger.debug('send: %j', j);
|
||||
res.json(j);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue