aboutsummaryrefslogtreecommitdiffstats
path: root/routes/bitcoin/fee.js
diff options
context:
space:
mode:
Diffstat (limited to 'routes/bitcoin/fee.js')
-rw-r--r--routes/bitcoin/fee.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/routes/bitcoin/fee.js b/routes/bitcoin/fee.js
index fab17307..cac514b3 100644
--- a/routes/bitcoin/fee.js
+++ b/routes/bitcoin/fee.js
@@ -6,8 +6,11 @@ module.exports = async (req, res) => {
let recipient = await db.User.findOne({
where: { address }
});
- if (recipient)
+
+ if (recipient) {
+ l.info("emitting");
emit(user.username, "to", recipient);
+ }
try {
amount = parseInt(amount);