Skip to content

Commit efbc65e

Browse files
committed
docs: remove fallback
1 parent d9c408e commit efbc65e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/libraries/ChainlinkDataFeedLib.sol

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ library ChainlinkDataFeedLib {
1414
/// @dev When `feed` is the address zero, returns 1.
1515
/// @dev Notes on safety checks:
1616
/// - 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.
2019
function getPrice(AggregatorV3Interface feed) internal view returns (uint256) {
2120
if (address(feed) == address(0)) return 1;
2221

0 commit comments

Comments
 (0)