aboutsummaryrefslogtreecommitdiffstats
path: root/lib/nwc.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2025-02-10 08:51:02 +0000
committerAdam Soltys <[email protected]>2025-02-10 08:51:24 +0000
commit3ef4ac770d1e1018d6f712bcbb943d34f32585fa (patch)
treeac6ad5212dfe8f6961565f9fb591703eba1208aa /lib/nwc.ts
parent130290bdc79e3e51b9ba4f3631f92a5483a20721 (diff)
downloadcoinos-server-3ef4ac770d1e1018d6f712bcbb943d34f32585fa.tar.gz
coinos-server-3ef4ac770d1e1018d6f712bcbb943d34f32585fa.zip
remove imports
Diffstat (limited to 'lib/nwc.ts')
-rw-r--r--lib/nwc.ts2
1 files changed, 0 insertions, 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,