Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
MathisGD committed Mar 5, 2024
1 parent 6a8741c commit 2960ff8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/morpho-chainlink/MorphoChainlinkOracleV2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ contract MorphoChainlinkOracleV2 is IMorphoChainlinkOracleV2 {
AggregatorV3Interface quoteFeed2,
uint256 quoteTokenDecimals
) {
// The ERC4626 vault parameters are used to price their respective conversion samples of their respective shares,
// so it requires multiplying by `QUOTE_VAULT_CONVERSION_SAMPLE` and dividing `BASE_VAULT_CONVERSION_SAMPLE` by
// the `SCALE_FACTOR` definition.
// The ERC4626 vault parameters are used to price their respective conversion samples of their respective
// shares, so it requires multiplying by `QUOTE_VAULT_CONVERSION_SAMPLE` and dividing
// `BASE_VAULT_CONVERSION_SAMPLE` by the `SCALE_FACTOR` definition.
// Verify that vault = address(0) => vaultConversionSample = 1 for each vault.
require(
address(baseVault) != address(0) || baseVaultConversionSample == 1,
Expand Down

0 comments on commit 2960ff8

Please sign in to comment.