From 06db3fc9a4fa3f3a5204519f038f70090fe1da1f Mon Sep 17 00:00:00 2001 From: Roland Bewick Date: Tue, 25 Feb 2025 21:18:07 +0700 Subject: [PATCH] fix: do not read lud16 from tag --- src/NWAClient.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/NWAClient.ts b/src/NWAClient.ts index 55860ba..c1965fb 100644 --- a/src/NWAClient.ts +++ b/src/NWAClient.ts @@ -181,13 +181,11 @@ export class NWAClient { sub.onevent = async (event) => { try { - const lud16 = event.tags.find((t) => t[0] === "lud16")?.[1]; args.onSuccess( new NWCClient({ relayUrl: this.options.relayUrl, secret: this.options.appSecretKey, walletPubkey: event.pubkey, - lud16, }), ); unsub();