Skip to content

docs: fix comment for exchange rate to describe ratio as rETH / ETH#310

Open
CJ42 wants to merge 1 commit intorocket-pool:masterfrom
CJ42:docs/exchange-rate-comment
Open

docs: fix comment for exchange rate to describe ratio as rETH / ETH#310
CJ42 wants to merge 1 commit intorocket-pool:masterfrom
CJ42:docs/exchange-rate-comment

Conversation

@CJ42
Copy link

@CJ42 CJ42 commented Jan 10, 2025

The comment above the function getExchangeRate() seems to have an error. It mentions as ratio ETH : rETH while the function uses getETHValue(1 ether) and therefore describes how many ETH are backing 1 rETH.

Adjusted the comment to reflect that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant