aboutsummaryrefslogtreecommitdiffstats
path: root/routes/lightning
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-10-06 01:15:21 -0700
committerAdam Soltys <[email protected]>2022-10-06 01:15:21 -0700
commit642306ff14d774b3ec3ccd5c9174639b86d6f7c4 (patch)
tree6814209fa80a8a40bfc8c01f11ff8139740ab9ce /routes/lightning
parentea44c7ea627d4b4e56a9819b992c6fb6d24eaa1a (diff)
downloadcoinos-server-642306ff14d774b3ec3ccd5c9174639b86d6f7c4.tar.gz
coinos-server-642306ff14d774b3ec3ccd5c9174639b86d6f7c4.zip
send invoice with payment message
Diffstat (limited to 'routes/lightning')
-rw-r--r--routes/lightning/receive.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/routes/lightning/receive.js b/routes/lightning/receive.js
index 2ca6f960..97c4b47f 100644
--- a/routes/lightning/receive.js
+++ b/routes/lightning/receive.js
@@ -92,8 +92,6 @@ const handlePayment = async msg => {
callWebhook(invoice, payment);
- console.log("INVOICE", payment.invoice.received);
-
emit(user.username, "payment", payment);
emit(user.username, "account", payment.account);
notify(user, `Received ${total} SAT`);