aboutsummaryrefslogtreecommitdiffstats
path: root/routes/liquid
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/liquid
parentdb5888df67d7120c0ee5d77f36ddcedbeae5455e (diff)
downloadcoinos-server-5858323cf0bb920c9f967239b7a1ef7915cf0824.tar.gz
coinos-server-5858323cf0bb920c9f967239b7a1ef7915cf0824.zip
don't wait for webhook to complete
Diffstat (limited to 'routes/liquid')
-rw-r--r--routes/liquid/receive.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/liquid/receive.js b/routes/liquid/receive.js
index 259db7c7..d3d4aec8 100644
--- a/routes/liquid/receive.js
+++ b/routes/liquid/receive.js
@@ -175,7 +175,7 @@ zmqRawTx.on("message", async (topic, message, sequence) => {
emit(user.username, "account", payment.account);
l.info("liquid detected", address, user.username, asset, value);
notify(user, `${value} SAT payment detected`);
- await callWebhook(invoice, payment);
+ callWebhook(invoice, payment);
});
}
} catch (e) {