From 46aafdf65abf322695da794f78a7e0a508efe22b Mon Sep 17 00:00:00 2001 From: Guillermo Bescos Date: Thu, 16 Nov 2023 21:25:39 +0000 Subject: [PATCH] Cleanup --- utils/uiTypes/VotePlugin.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/uiTypes/VotePlugin.ts b/utils/uiTypes/VotePlugin.ts index e17f7ab93b..f916bf858b 100644 --- a/utils/uiTypes/VotePlugin.ts +++ b/utils/uiTypes/VotePlugin.ts @@ -164,6 +164,7 @@ export class VotingClient { voterWeightTarget?: PublicKey ): Promise => { if (this.noClient) return + const realm = this.realm! const torAccount = await fetchTokenOwnerRecordByPubkey( this.client!.program.provider.connection,