From 61d781e631323e1d5bcf8cc80a0452ad5e41c0d4 Mon Sep 17 00:00:00 2001 From: Guillermo Bescos Date: Thu, 16 Nov 2023 21:24:45 +0000 Subject: [PATCH] Cleanup --- utils/uiTypes/VotePlugin.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/utils/uiTypes/VotePlugin.ts b/utils/uiTypes/VotePlugin.ts index e7de546133..e17f7ab93b 100644 --- a/utils/uiTypes/VotePlugin.ts +++ b/utils/uiTypes/VotePlugin.ts @@ -165,13 +165,11 @@ export class VotingClient { ): Promise => { if (this.noClient) return const realm = this.realm! - const torAccount = await fetchTokenOwnerRecordByPubkey( this.client!.program.provider.connection, tokenOwnerRecord ) console.log(this.client) - if (!torAccount.result) return if ( !realm.account.communityMint.equals(