From f7e54dbc88a625286e848780d7a220a56a314d2f Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 4 Aug 2021 17:08:25 -0700 Subject: don't wait for webhook to complete --- routes/lightning/receive.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routes/lightning') diff --git a/routes/lightning/receive.js b/routes/lightning/receive.js index 32c54de6..0e98cd93 100644 --- a/routes/lightning/receive.js +++ b/routes/lightning/receive.js @@ -69,7 +69,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); -- cgit v1.2.3