aboutsummaryrefslogtreecommitdiffstats
path: root/routes/lightning
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2021-08-04 17:08:25 -0700
committerAdam Soltys <[email protected]>2021-08-04 17:08:48 -0700
commit5858323cf0bb920c9f967239b7a1ef7915cf0824 (patch)
treed3f325604adb5b057501ff2ae9c57e3a0f678b23 /routes/lightning
parentdb5888df67d7120c0ee5d77f36ddcedbeae5455e (diff)
downloadcoinos-server-5858323cf0bb920c9f967239b7a1ef7915cf0824.tar.gz
coinos-server-5858323cf0bb920c9f967239b7a1ef7915cf0824.zip
don't wait for webhook to complete
Diffstat (limited to 'routes/lightning')
-rw-r--r--routes/lightning/receive.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/lightning/receive.js b/routes/lightning/receive.js
index 8d2aa750..39c5be15 100644
--- a/routes/lightning/receive.js
+++ b/routes/lightning/receive.js
@@ -67,7 +67,7 @@ const handlePayment = async msg => {
payment = payment.get({ plain: true });
payment.account = account.get({ plain: true });
- await callWebhook(invoice, payment);
+ callWebhook(invoice, payment);
emit(user.username, "payment", payment);
emit(user.username, "account", payment.account);