aboutsummaryrefslogtreecommitdiffstats
path: root/lib/lightning.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lightning.ts')
-rw-r--r--lib/lightning.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/lightning.ts b/lib/lightning.ts
index 0e9e6d8e..e2c00483 100644
--- a/lib/lightning.ts
+++ b/lib/lightning.ts
@@ -32,7 +32,7 @@ export async function listenForLightning() {
if (invoice?.memo) {
try {
- if (JSON.parse(description).kind === 9734) await handleZap(inv);
+ if (JSON.parse(description).kind === 9734) handleZap(inv);
} catch (e) {
if (!e.message.includes("Unexpected"))
warn("failed to handle zap", e.message);
@@ -78,7 +78,7 @@ export async function replay(index) {
if (invoice?.memo) {
try {
- if (JSON.parse(description).kind === 9734) await handleZap(inv);
+ if (JSON.parse(description).kind === 9734) handleZap(inv);
} catch (e) {
if (!e.message.includes("Unexpected"))
warn("failed to handle zap", e.message);