Skip to content

Commit

Permalink
fix: balance not showing for some accounts with many assets (#1340)
Browse files Browse the repository at this point in the history
  • Loading branch information
LuizAsFight committed Jun 3, 2024
1 parent ad4ff0e commit 7c2ad24
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/eight-cheetahs-sell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"fuels-wallet": patch
---

Fix balances not showing for some accounts that have many assets in balance
2 changes: 1 addition & 1 deletion packages/app/src/systems/Account/services/account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,6 @@ export class AccountService {

async function getBalances(provider: Provider, publicKey = '0x00') {
const address = Address.fromPublicKey(publicKey);
const balances = await provider.getBalances(address);
const balances = await provider.getBalances(address, { first: 1000 });
return balances;
}

0 comments on commit 7c2ad24

Please sign in to comment.