From 926fd8471a0132d68b36ebb7b9870daaaab42da1 Mon Sep 17 00:00:00 2001 From: avasisht23 Date: Mon, 11 Dec 2023 15:11:14 -0500 Subject: [PATCH] feat: remove unneeded check --- packages/signers/src/portal/signer.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/signers/src/portal/signer.ts b/packages/signers/src/portal/signer.ts index e2aea9a86b..3687f3ae9a 100644 --- a/packages/signers/src/portal/signer.ts +++ b/packages/signers/src/portal/signer.ts @@ -57,8 +57,6 @@ export class PortalSigner }; authenticate = async () => { - if (this.inner == null) throw new Error("No provider found"); - this.signer = new WalletClientSigner( createWalletClient({ transport: custom(this.inner.provider),