From 43c2abbe6958a5de995b3cead5179ea3447ffca5 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 5 Mar 2020 15:26:15 -0800 Subject: additional logging --- liquidPayments.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'liquidPayments.js') diff --git a/liquidPayments.js b/liquidPayments.js index 4549ba08..8ed5507a 100644 --- a/liquidPayments.js +++ b/liquidPayments.js @@ -86,6 +86,7 @@ module.exports = (app, db, addresses, payments, emit) => { }); payments.push(blinded.txid); + l.info("liquid detected", user.username, value); emit(user.username, "payment", payment); } }) @@ -126,6 +127,7 @@ module.exports = (app, db, addresses, payments, emit) => { let user = await p.getUser(); user.balance += p.amount; user.pending -= p.amount; + l.info("liquid confirmed", user.username, p.amount); emit(user.username, "user", user); await user.save(); -- cgit v1.2.3