Skip to content

Commit

Permalink
remove balance validation from stake account fetch (#2412)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xShuk authored Aug 20, 2024
1 parent 44108f8 commit 23233f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stores/useGovernanceAssetsStore.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ const useGovernanceAssetsStore = create<GovernanceAssetsStore>((set, _get) => ({
const stakeAccounts = await loadStakeAccounts(
connection,
governedTokenAccounts.filter(
(x) => x.isSol && x.extensions.solAccount?.lamports
(x) => x.isSol
)
)
accounts.push(...stakeAccounts)
Expand Down

0 comments on commit 23233f1

Please sign in to comment.