Skip to content

Commit

Permalink
Update doc for previewRepayDebt function
Browse files Browse the repository at this point in the history
The docs were not updated after the function was modified in one of previous
commits.
  • Loading branch information
nkuba committed Aug 9, 2024
1 parent 4d0bf44 commit deff46d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions solidity/contracts/stBTC.sol
Original file line number Diff line number Diff line change
Expand Up @@ -528,8 +528,8 @@ contract stBTC is ERC4626Fees, PausableOwnable {
return convertToAssets(balanceOf(account));
}

/// @notice Previews the amount of shares that will be burned for the given
/// amount of repaid debt assets.
/// @notice Previews the amount of assets that will be burned for the given
/// amount of repaid shares.
function previewRepayDebt(uint256 shares) public view returns (uint256) {
return convertToAssets(shares);
}
Expand Down

0 comments on commit deff46d

Please sign in to comment.