From c369ebd2f466d0261f79255f696a2270fa60784f Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 6 Oct 2021 20:22:29 -0400 Subject: log user id --- lib/rates.js | 1 - routes/payments.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/rates.js b/lib/rates.js index 55dc1ea5..598fc041 100644 --- a/lib/rates.js +++ b/lib/rates.js @@ -59,7 +59,6 @@ setInterval(() => { }, 1000); setInterval(() => { - l.info("refreshing binance socket"); binance.terminate(); binance = require("./binance")(); }, 360000); diff --git a/routes/payments.js b/routes/payments.js index 42587348..836a6681 100644 --- a/routes/payments.js +++ b/routes/payments.js @@ -181,7 +181,7 @@ ah(async () => { emit(p.user.username, "account", p.account); emit(p.user.username, "payment", p); - l.info("confirmed tx", p.hash, p.address); + l.info("confirmed tx", p.user_id, p.hash, p.address); } unaccounted = []; -- cgit v1.2.3