Skip to content

Commit

Permalink
Merge branch 'master' into hf/docs/usetransactionresult
Browse files Browse the repository at this point in the history
  • Loading branch information
helciofranco committed Jun 4, 2024
2 parents 648a1a7 + 7c95dc0 commit 3c17bcd
Show file tree
Hide file tree
Showing 3 changed files with 8 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;
}
2 changes: 2 additions & 0 deletions packages/docs/src/components/Provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
import {
FuelWalletConnector,
FuelWalletDevelopmentConnector,
FueletWalletConnector,
} from '@fuels/connectors';
import { FuelProvider } from '@fuels/react';
import { MDXProvider } from '@mdx-js/react';
Expand Down Expand Up @@ -98,6 +99,7 @@ export function Provider({ children }: ProviderProps) {
connectors: [
new FuelWalletConnector(),
new FuelWalletDevelopmentConnector(),
new FueletWalletConnector(),
],
}}
>
Expand Down

0 comments on commit 3c17bcd

Please sign in to comment.