From a7a94c77463acea95d979aae1580fb0ddc3b6a1e Mon Sep 17 00:00:00 2001 From: Sergei Tikhomirov Date: Fri, 23 Jun 2023 00:34:53 +0200 Subject: [PATCH] Update comment to reflect code logic in Ownable.sol (#4369) --- contracts/access/Ownable.sol | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contracts/access/Ownable.sol b/contracts/access/Ownable.sol index f4394378b..627226cf7 100644 --- a/contracts/access/Ownable.sol +++ b/contracts/access/Ownable.sol @@ -10,8 +10,8 @@ import "../utils/Context.sol"; * there is an account (an owner) that can be granted exclusive access to * specific functions. * - * By default, the owner account will be the one that deploys the contract. This - * can later be changed with {transferOwnership}. + * The initial owner is set to the address provided by the deployer. This can + * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to @@ -33,7 +33,7 @@ abstract contract Ownable is Context { event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** - * @dev Initializes the contract setting the deployer as the initial owner. + * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { _transferOwnership(initialOwner);