Skip to content

Commit a98d971

Browse files
committed
Merge branch 'feat/wsteth-oracle' of github.com:morpho-labs/morpho-blue-oracles into feat/wsteth-oracle
2 parents 5a3cc1f + a5e9b02 commit a98d971

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/adapters/WstEthEthExchangeRateChainlinkAdapter.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ contract WstEthEthExchangeRateChainlinkAdapter is AggregatorV3Interface {
2323
}
2424

2525
/// @notice Reverts as no Chainlink aggregator is used.
26-
function version() external pure override returns (uint256) {
26+
function version() external pure returns (uint256) {
2727
revert();
2828
}
2929

@@ -32,7 +32,7 @@ contract WstEthEthExchangeRateChainlinkAdapter is AggregatorV3Interface {
3232
revert();
3333
}
3434

35-
function latestRoundData() public view returns (uint80, int256, uint256, uint256, uint80) {
35+
function latestRoundData() external view returns (uint80, int256, uint256, uint256, uint80) {
3636
uint256 answer = ST_ETH.getPooledEthByShares(10 ** decimals);
3737
return (0, int256(answer), 0, 0, 0);
3838
}

0 commit comments

Comments
 (0)