From 3ef4ac770d1e1018d6f712bcbb943d34f32585fa Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 10 Feb 2025 08:51:02 +0000 Subject: remove imports --- lib/nwc.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/nwc.ts b/lib/nwc.ts index 8893ebac..2774b0d8 100644 --- a/lib/nwc.ts +++ b/lib/nwc.ts @@ -6,7 +6,6 @@ import { err } from "$lib/logging"; import { handleZap, serverPubkey } from "$lib/nostr"; import { sendInternal, sendKeysend, sendLightning } from "$lib/payments"; import { getInvoice, sleep } from "$lib/utils"; -import { bytesToHex, randomBytes } from "@noble/hashes/utils"; import { Relay } from "nostr"; import { finalizeEvent, nip04, nip19 } from "nostr-tools"; import type { UnsignedEvent } from "nostr-tools"; @@ -75,7 +74,6 @@ export default () => { response = await finalizeEvent(response, sk); r.send(["EVENT", response]); } catch (e) { - console.log(e); err( "problem with nwc", pubkey, -- cgit v1.2.3