aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-08-20 00:33:13 -0400
committerAdam Soltys <[email protected]>2020-08-20 00:33:13 -0400
commit8f9ba2a587e7bc407dea1477296beb2ba644a5b3 (patch)
tree868c212a6b882bbb54d937d4d674735aaff78f2e
parent81e8db888bbf51cfc578588ec05bf5963e7ab379 (diff)
downloadcoinos-server-8f9ba2a587e7bc407dea1477296beb2ba644a5b3.tar.gz
coinos-server-8f9ba2a587e7bc407dea1477296beb2ba644a5b3.zip
quieter logs
-rw-r--r--lib/send.js2
-rw-r--r--routes/bitcoin/send.js2
-rw-r--r--routes/invoices.js2
-rw-r--r--routes/send.js1
4 files changed, 0 insertions, 7 deletions
diff --git a/lib/send.js b/lib/send.js
index 0fd76cc5..4d2c3f75 100644
--- a/lib/send.js
+++ b/lib/send.js
@@ -5,8 +5,6 @@ send = async (amount, memo, hash, user) => {
if (!amount) amount = payreq.satoshis;
- l.info("attempting lightning payment", hash, user.username, amount);
-
if (seen.includes(hash)) {
l.warn("attempted to pay a paid invoice", user.username);
throw new Error("Invoice has been paid, can't pay again");
diff --git a/routes/bitcoin/send.js b/routes/bitcoin/send.js
index 2d539d5a..5e52b7ed 100644
--- a/routes/bitcoin/send.js
+++ b/routes/bitcoin/send.js
@@ -30,8 +30,6 @@ module.exports = ah(async (req, res) => {
total = total - change + fee;
let amount = total - fee;
- l.info("attempting bitcoin payment", user.username, { total, change, amount, fee });
-
let account, params;
try {
await db.transaction(async transaction => {
diff --git a/routes/invoices.js b/routes/invoices.js
index 511d6c02..dc0650d1 100644
--- a/routes/invoices.js
+++ b/routes/invoices.js
@@ -30,8 +30,6 @@ app.post("/invoice", ah(async (req, res, next) => {
l.info(
"creating invoice",
- invoice.address,
- invoice.text,
user.username,
invoice.network,
invoice.amount,
diff --git a/routes/send.js b/routes/send.js
index 405c0d95..616ac137 100644
--- a/routes/send.js
+++ b/routes/send.js
@@ -5,7 +5,6 @@ module.exports = ah(async (req, res, next) => {
let { amount, asset, memo, username } = req.body;
let { user } = req;
- l.info("attempting internal payment", user.username, amount);
if (!amount || amount < 0)
return res.status(500).send("Amount must be greater than zero");