From c475a0f758986067f5147d254e82f0bed203cb94 Mon Sep 17 00:00:00 2001 From: Artur Brugeman Date: Wed, 27 Mar 2024 10:36:19 +0100 Subject: [PATCH] Fix pubkey param to nip46 connect call NIP46 requires remote_user_pubkey as first param. --- src/services/nostr-connect.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/nostr-connect.ts b/src/services/nostr-connect.ts index de6ab6fa4..1e7b55e18 100644 --- a/src/services/nostr-connect.ts +++ b/src/services/nostr-connect.ts @@ -192,7 +192,7 @@ export class NostrConnectClient { try { const result = await this.makeRequest( NostrConnectMethod.Connect, - [this.publicKey, token || '', Perms], + [this.pubkey, token || '', Perms], ); this.isConnected = true; return result;