Skip to content

Commit

Permalink
Fixed on PR #487
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoguerios committed Nov 14, 2024
1 parent 7b3b238 commit cd5a2b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/entities/utils/getPoolStateWithBalancesV3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const getPoolStateWithBalancesV3 = async (
address: token.address,
decimals: token.decimals,
index: i,
balance: formatUnits(balances[i], token.decimals) as HumanAmount, // FIXME: getCurrentLiveBalances returns scale18, so this will break for tokens with less decimals
balance: formatUnits(balances[i], token.decimals) as HumanAmount,
})),
totalShares: formatEther(totalShares) as HumanAmount,
};
Expand Down

0 comments on commit cd5a2b3

Please sign in to comment.