diff options
| author | Adam Soltys <[email protected]> | 2020-08-08 22:35:24 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-08-08 22:35:24 -0700 |
| commit | 23fa7f40f1cbc94238f836876a31480a4a23b785 (patch) | |
| tree | 46a81016c9c9d5a14087706f1b6566fb30309644 | |
| parent | 1cccd058ebfa9c55e6cbaf66624710075c51ef90 (diff) | |
| download | coinos-server-23fa7f40f1cbc94238f836876a31480a4a23b785.tar.gz coinos-server-23fa7f40f1cbc94238f836876a31480a4a23b785.zip | |
track outgoing bitcoin payments
| -rw-r--r-- | routes/bitcoin/send.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/bitcoin/send.js b/routes/bitcoin/send.js index 1ce1da54..744f8f29 100644 --- a/routes/bitcoin/send.js +++ b/routes/bitcoin/send.js @@ -87,6 +87,7 @@ module.exports = ah(async (req, res) => { emit(user.username, "payment", payment); res.send(payment); + payments.push(params.hash); l.info("sent bitcoin", user.username, total); } catch (e) { l.error("error sending bitcoin", e.message); |
