Browse Source

Update comment to reflect code logic in Ownable.sol (#4369)

Sergei Tikhomirov 2 years ago
parent
commit
a7a94c7746
1 changed files with 3 additions and 3 deletions
  1. 3 3
      contracts/access/Ownable.sol

+ 3 - 3
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
  * there is an account (an owner) that can be granted exclusive access to
  * specific functions.
  * 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
  * 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
  * `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);
     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) {
     constructor(address initialOwner) {
         _transferOwnership(initialOwner);
         _transferOwnership(initialOwner);