Skip to content

Commit

Permalink
fix: do not read lud16 from tag
Browse files Browse the repository at this point in the history
  • Loading branch information
rolznz committed Feb 25, 2025
1 parent 568371a commit 06db3fc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/NWAClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 06db3fc

Please sign in to comment.