From afd79e308f71305845142f1967703f4494b5a887 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sat, 24 Jun 2023 02:59:21 -0400 Subject: [PATCH] fix. bad if statement --- src/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.ts b/src/client.ts index 118673b..8ea514a 100644 --- a/src/client.ts +++ b/src/client.ts @@ -105,7 +105,7 @@ export class Client { } async login(): Promise { - if (!this._options.privateKey) { + if (this._options.privateKey) { return this.loginPubkey(); }