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 ++------ lib/payments.ts | 1 - 2 files changed, 2 insertions(+), 7 deletions(-) (limited to 'lib') 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; diff --git a/lib/payments.ts b/lib/payments.ts index da471cd8..d20b381e 100644 --- a/lib/payments.ts +++ b/lib/payments.ts @@ -17,7 +17,6 @@ import { sats, formatReceipt, t, - wait, } from "$lib/utils"; import { callWebhook } from "$lib/webhooks"; import got from "got"; -- cgit v1.2.3