diff options
| author | Adam Soltys <[email protected]> | 2020-03-05 15:26:15 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-03-05 15:26:15 -0800 |
| commit | 43c2abbe6958a5de995b3cead5179ea3447ffca5 (patch) | |
| tree | c66eb017cef0c1612974edcfeb4bf154ca45ad4d /liquidPayments.js | |
| parent | cf89efeadbcfe0982b3f833a69fb9c0cd7cfb880 (diff) | |
| download | coinos-server-43c2abbe6958a5de995b3cead5179ea3447ffca5.tar.gz coinos-server-43c2abbe6958a5de995b3cead5179ea3447ffca5.zip | |
additional logging
Diffstat (limited to 'liquidPayments.js')
| -rw-r--r-- | liquidPayments.js | 2 |
1 files changed, 2 insertions, 0 deletions
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(); |
