Skip to content

Commit 5145e14

Browse files
committed
docs: adapt comment
1 parent 3743f80 commit 5145e14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wsteth-exchange-rate-adapter/WstEthEthExchangeRateChainlinkAdapter.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ contract WstEthEthExchangeRateChainlinkAdapter is MinimalAggregatorV3Interface {
2323
ST_ETH = IStEth(stEth);
2424
}
2525

26-
/// @dev Silently overflows if `stEthPerToken` is greater than `type(int256).max`.
26+
/// @dev Silently overflows if `getPooledEthByShares`'s return value is greater than `type(int256).max`.
2727
function latestRoundData() external view returns (uint80, int256, uint256, uint256, uint80) {
2828
// It is assumed that `getPooledEthByShares` returns a price with 18 decimals precision.
2929
return (0, int256(ST_ETH.getPooledEthByShares(1 ether)), 0, 0, 0);

0 commit comments

Comments
 (0)