Skip to content

Commit

Permalink
Fix urBEANETH values on Forecast page
Browse files Browse the repository at this point in the history
  • Loading branch information
uncoolzero committed Dec 2, 2023
1 parent 7d668b9 commit 3928b47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/ui/src/hooks/beanstalk/useSiloTokenToFiat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ const useSiloTokenToFiat = () => {
const lpBdv = beanPools[beanWeth.address]?.lpBdv || ZERO_BN;

return _denomination === 'bdv'
? lpBdv?.multipliedBy(choppedLP)
: lpUsd?.multipliedBy(choppedLP);
? lpBdv?.multipliedBy(_chop ? choppedLP : _amount)
: lpUsd?.multipliedBy(_chop ? choppedLP : _amount);
}

/// Grab pool data. Here we can only have ripe, LP assets (BEAN:3CRV or BEAN:ETH)
Expand Down

0 comments on commit 3928b47

Please sign in to comment.