From 290321cf4d1cd38668f72657bdb35b29973c65c5 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 25 Sep 2024 12:13:50 -0700 Subject: unused vars --- lib/lightning.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'lib/lightning.ts') diff --git a/lib/lightning.ts b/lib/lightning.ts index f86b9a2d..74869a19 100644 --- a/lib/lightning.ts +++ b/lib/lightning.ts @@ -1,10 +1,7 @@ import { handleZap } from "$lib/nostr"; -import config from "$config"; -import { notify } from "$lib/notifications"; -import { callWebhook } from "$lib/webhooks"; import ln from "$lib/ln"; -import { l, err, warn } from "$lib/logging"; -import { g, s, t, db } from "$lib/db"; +import { err, warn } from "$lib/logging"; +import { g, s } from "$lib/db"; import { credit, types } from "$lib/payments"; export async function listenForLightning() { @@ -13,7 +10,6 @@ export async function listenForLightning() { bolt11, description, pay_index, - status, amount_received_msat, payment_preimage: preimage, } = inv; -- cgit v1.2.3