From 630e631b6006f699372d7d229b5f0b2a295eb925 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Mon, 18 Aug 2014 16:16:36 -0700 Subject: [PATCH] paypro: test - remove logging. --- test/mocks/FakePayProServer.js | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/test/mocks/FakePayProServer.js b/test/mocks/FakePayProServer.js index 16f6dbafb..3b0972872 100644 --- a/test/mocks/FakePayProServer.js +++ b/test/mocks/FakePayProServer.js @@ -122,8 +122,6 @@ function startServer(cb) { var uid = 0; - console.log('Received payment "request" from %s.', req.socket.remoteAddress); - var outputs = []; [2000, 1000].forEach(function(value) { @@ -226,9 +224,6 @@ function startServer(cb) { '/-/pay': function(req, cb) { var body = req.body; - console.log('Received Payment Message Body:'); - console.log(body.toString('hex')); - var res = { statusCode: 200, headers: {}, @@ -244,11 +239,6 @@ function startServer(cb) { var refund_to = pay.get('refund_to'); var memo = pay.get('memo'); - console.log('Received Payment from %s.', req.socket.remoteAddress); - console.log('Customer Message: %s', memo); - console.log('Payment Message:'); - console.log(pay); - // We send this to the customer after receiving a Payment // Then we propogate the transaction through bitcoin network var ack = new PayPro(); @@ -271,13 +261,6 @@ function startServer(cb) { return ptx; }); - transactions.forEach(function(tx) { - var id = tx.getHash().toString('hex'); - console.log(''); - console.log('Sending transaction with txid: %s', id); - console.log(tx.getStandardizedObject()); - }); - res.body = ack; return cb(null, res, res.body);