Skip to content

Commit

Permalink
Clarify comment on renewal pricing
Browse files Browse the repository at this point in the history
  • Loading branch information
stevieraykatz committed Jun 25, 2024
1 parent ce68b5c commit 7bdb407
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/L2/RegistrarController.sol
Original file line number Diff line number Diff line change
Expand Up @@ -443,8 +443,9 @@ contract RegistrarController is Ownable {
/// @notice Allows a caller to renew a name for a specified duration.
///
/// @dev This `payable` method must receive appropriate `msg.value` to pass `_validatePayment()`.
/// The price for renewal never incorporates pricing `premium`. Use the `base` price returned by the `rentPrice`
/// tuple to determine the price for calling this method.
/// The price for renewal never incorporates pricing `premium`. This is because we only expect
/// renewal on names that are not expired or are in the grace period. Use the `base` price returned
/// by the `rentPrice` tuple to determine the price for calling this method.
///
/// @param name The name that is being renewed.
/// @param duration The duration to extend the expiry, in seconds.
Expand Down

0 comments on commit 7bdb407

Please sign in to comment.