aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--routes/bitcoin/send.js1
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);