diff --git a/nip46.ts b/nip46.ts index e2aae1d..6a5449e 100644 --- a/nip46.ts +++ b/nip46.ts @@ -193,7 +193,7 @@ export class BunkerSigner { * Calls the "connect" method on the bunker. */ async connect(): Promise { - await this.sendRequest('connect', [getPublicKey(this.secretKey), this.bp.secret || '']) + await this.sendRequest('connect', [this.bp.pubkey, this.bp.secret || '']) } /**