Skip to content

Commit

Permalink
Fix beefy balances
Browse files Browse the repository at this point in the history
  • Loading branch information
prevostc committed Jun 25, 2024
1 parent 3e5dfee commit 58aae35
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions adapters/beefy/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ export const getUserTVLByBlock = async (
}

investorTokenBalances[position.user_address][balance.tokenAddress] +=
(BigInt(position.token_address) * balance.vaultBalance) /
breakdown.vaultTotalSupply;
(position.balance * balance.vaultBalance) / breakdown.vaultTotalSupply;
}
}

Expand Down

0 comments on commit 58aae35

Please sign in to comment.