Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
velodrome: fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tonzgao committed Jul 6, 2022
1 parent 9c58713 commit 92ca234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apps/velodrome/optimism/velodrome.balance-fetcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class OptimismVelodromeBalanceFetcher implements BalanceFetcher {
network,
resolveContract: ({ address, network }) => this.contractFactory.velodromeVe({ address, network }),
resolveStakedTokenBalance: async ({ contract, address, multicall }) => {
const veCount = Number(await multicall.wrap(contract).tokenOfOwnerByIndex(address, 0));
const veCount = Number(await multicall.wrap(contract).balanceOf(address));
return sum(
await Promise.all(
range(veCount).map(async i => {
Expand Down

0 comments on commit 92ca234

Please sign in to comment.