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 /bitcoinPayments.js | |
| parent | cf89efeadbcfe0982b3f833a69fb9c0cd7cfb880 (diff) | |
| download | coinos-server-43c2abbe6958a5de995b3cead5179ea3447ffca5.tar.gz coinos-server-43c2abbe6958a5de995b3cead5179ea3447ffca5.zip | |
additional logging
Diffstat (limited to 'bitcoinPayments.js')
| -rw-r--r-- | bitcoinPayments.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitcoinPayments.js b/bitcoinPayments.js index 8b44757a..64a50e58 100644 --- a/bitcoinPayments.js +++ b/bitcoinPayments.js @@ -89,6 +89,7 @@ module.exports = (app, bc, db, addresses, payments, emit) => { asset: 'BTC', }); + l.info("bitcoin detected", user.username, o.value); emit(user.username, "payment", payment); } }) @@ -142,6 +143,7 @@ module.exports = (app, bc, db, addresses, payments, emit) => { limit: 12 }); + l.info("bitcoin confirmed", user.username, p.amount); emit(user.username, "payments", payments); delete queue[hash]; } |
