Skip to content

Commit

Permalink
fix: exchangeRateStored decimals are incorrect and misaligned with ex…
Browse files Browse the repository at this point in the history
…changeRateCurrent
  • Loading branch information
twygod committed Jul 25, 2024
1 parent 0ce7036 commit 752b106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/market/UToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ contract UToken is IUToken, Controller, ERC20PermitUpgradeable, ReentrancyGuardU
}

function exchangeRateStored() public view returns (uint256) {
return decimalReducing(_exchangeRateStored(), underlyingDecimal);
return _exchangeRateStored();
}

/**
Expand Down

0 comments on commit 752b106

Please sign in to comment.