diff --git a/contracts/logics/exchangeRate/ethLogic.sol b/contracts/logics/exchangeRate/ethLogic.sol index c2486a4..cc7596c 100644 --- a/contracts/logics/exchangeRate/ethLogic.sol +++ b/contracts/logics/exchangeRate/ethLogic.sol @@ -91,7 +91,7 @@ contract EthRateLogic is DSMath { uint virtualPrice = ICurve(curvePoolAddr).get_virtual_price(); uint curveTokenBal = TokenInterface(curveTokenAddr).balanceOf(_dsa); uint amtInUSD = wmul(curveTokenBal, virtualPrice); - uint amtInETH = wmul(amtInUSD, ethPriceUSD); + uint amtInETH = wdiv(amtInUSD, ethPriceUSD); _netBal = add(_netBal, amtInETH); } }