aboutsummaryrefslogtreecommitdiffstats
path: root/lib/lightning.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-09-25 12:13:50 -0700
committerAdam Soltys <[email protected]>2024-09-25 12:13:50 -0700
commit290321cf4d1cd38668f72657bdb35b29973c65c5 (patch)
tree9b83c5b714eb544da072d375d87f1926063138fc /lib/lightning.ts
parent61d246e1bca5566c93486312818e02b8a8aa70b3 (diff)
downloadcoinos-server-290321cf4d1cd38668f72657bdb35b29973c65c5.tar.gz
coinos-server-290321cf4d1cd38668f72657bdb35b29973c65c5.zip
unused vars
Diffstat (limited to 'lib/lightning.ts')
-rw-r--r--lib/lightning.ts8
1 files changed, 2 insertions, 6 deletions
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;