Fix pubkey param to nip46 connect call

NIP46 requires remote_user_pubkey as first param.
This commit is contained in:
Artur Brugeman
2024-03-27 10:36:19 +01:00
committed by GitHub
parent 1aad1271dc
commit c475a0f758

View File

@@ -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;