Skip to content

Commit

Permalink
fix: fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
0xSolDev committed Jan 5, 2025
1 parent 9e09a7e commit 0ece430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/misc/ERC4626ExchangeRate.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ contract ERC4626ExchangeRate is IExchangeRateProvider {

/// @dev Get the exchange rate
function exchangeRate() external view returns (uint256) {
return token.convertToAssets(token.decimals());
return token.convertToAssets(10 ** token.decimals());
}

/// @dev Get the exchange rate decimals
Expand Down

0 comments on commit 0ece430

Please sign in to comment.