File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -14,9 +14,8 @@ library ChainlinkDataFeedLib {
14
14
/// @dev When `feed` is the address zero, returns 1.
15
15
/// @dev Notes on safety checks:
16
16
/// - Staleness is not checked because it's assumed that the Chainlink feed keeps its promises on this.
17
- /// - The price is not checked to be in the min/max bounds because it's assumed that the Chainlink feed keeps its promises on this.
18
- /// - No fallback is used. In case the oracle reverts, Morpho Blue users can still exit their positions but
19
- /// can't be liquidated.
17
+ /// - The price is not checked to be in the min/max bounds because it's assumed that the Chainlink feed keeps its
18
+ /// promises on this.
20
19
function getPrice (AggregatorV3Interface feed ) internal view returns (uint256 ) {
21
20
if (address (feed) == address (0 )) return 1 ;
22
21
You can’t perform that action at this time.
0 commit comments