Skip to content

Commit

Permalink
[chore] - fix comment wrt to decimal conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
SHAKOTN committed Aug 28, 2023
1 parent 64a2505 commit ae37fc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FluxStrategy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ contract FluxStrategy is BaseStrategy {
int128(int256(underlyingAssetIndex))
);
if (_slippage) {
// In case it's USDC or USDT, need to convert estimatedUnderlyingValue to 6 decimals
// In case it's USDC or USDT, need to convert estimatedUnderlyingValue to 18 decimals
uint256 _underlyingScaled = estimatedUnderlyingValue;
if (address(_underlyingAsset) != DAI) {
_underlyingScaled =
Expand Down

0 comments on commit ae37fc4

Please sign in to comment.