From 23233f1d86b6897c31dbf204af80c93980e1c9e9 Mon Sep 17 00:00:00 2001 From: Utkarsh <83659045+0xShuk@users.noreply.github.com> Date: Tue, 20 Aug 2024 15:17:08 +0530 Subject: [PATCH] remove balance validation from stake account fetch (#2412) --- stores/useGovernanceAssetsStore.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stores/useGovernanceAssetsStore.tsx b/stores/useGovernanceAssetsStore.tsx index 35cbfec562..7660794963 100644 --- a/stores/useGovernanceAssetsStore.tsx +++ b/stores/useGovernanceAssetsStore.tsx @@ -180,7 +180,7 @@ const useGovernanceAssetsStore = create((set, _get) => ({ const stakeAccounts = await loadStakeAccounts( connection, governedTokenAccounts.filter( - (x) => x.isSol && x.extensions.solAccount?.lamports + (x) => x.isSol ) ) accounts.push(...stakeAccounts)