Skip to content

Commit 3615bc2

Browse files
authored
Merge pull request #115 from farismln/fix/two-steps-transfer-ownership-natspec
Fix natspec for clarity about two-step transfer ownership
2 parents 311bce9 + d9ac170 commit 3615bc2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/access/OwnerTwoSteps/LibOwnerTwoSteps.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ library LibOwnerTwoSteps {
4848
}
4949

5050
/// @notice Initiates a two-step ownership transfer.
51-
/// @param _newOwner The address of the new owner (set to `address(0)` to renounce).
51+
/// @param _newOwner The address of the new owner of the contract
5252
function transferOwnership(address _newOwner) internal {
5353
OwnerTwoStepsStorage storage s = getStorage();
5454
s.pendingOwner = _newOwner;

src/access/OwnerTwoSteps/OwnerTwoSteps.sol

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ contract OwnerTwoStepsFacet {
4242
}
4343

4444
/// @notice Set the address of the new owner of the contract
45-
/// @dev Set _newOwner to address(0) to renounce any ownership.
4645
/// @param _newOwner The address of the new owner of the contract
4746
function transferOwnership(address _newOwner) external {
4847
OwnerTwoStepsStorage storage s = getStorage();

0 commit comments

Comments
 (0)