Skip to content

Commit

Permalink
issue #1
Browse files Browse the repository at this point in the history
  • Loading branch information
rbajollari committed Oct 17, 2024
1 parent e2ff966 commit ad88fe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/mellowpricefeed/MellowPriceFeed.sol
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ contract MellowPriceFeed is Initializable, AggregatorV3Interface {

answer = 0;
if (ratiosX96.length != 0) {
answer = int256(uint256(ratiosX96[0])) * 1e18 / int256(managedRatiosOracle.Q96());
answer = int256(uint256(ratiosX96[0])) * int256(10**priceFeedDecimals) / int256(managedRatiosOracle.Q96());
}

// These values are equal after chainlink’s OCR update
Expand Down

0 comments on commit ad88fe1

Please sign in to comment.