Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
MathisGD committed Oct 16, 2023
1 parent c77b350 commit 896ee33
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ChainlinkOracle.sol
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ contract ChainlinkOracle is IOracle {
// It is used to price `VAULT_CONVERSION_SAMPLE` of the vault shares, so it requires dividing by that number,
// hence the division by `VAULT_CONVERSION_SAMPLE` in the `SCALE_FACTOR` definition.
// Verify that vault = 0 => vaultConversionSample = 1.
require(address(vault) != address(0) || vaultConversionSample == 1, ErrorsLib.VAULT_CONVERSION_SAMPLE_IS_NOT_ONE);
require(
address(vault) != address(0) || vaultConversionSample == 1, ErrorsLib.VAULT_CONVERSION_SAMPLE_IS_NOT_ONE
);
VAULT = vault;
VAULT_CONVERSION_SAMPLE = vaultConversionSample;
BASE_FEED_1 = baseFeed1;
Expand Down

0 comments on commit 896ee33

Please sign in to comment.