From 72792a724db85e64f3a5cfbc8347bda5c33080c2 Mon Sep 17 00:00:00 2001 From: Leo Arias Date: Sun, 10 Jun 2018 13:39:54 -0600 Subject: [PATCH] ownable: add a notice on renounceOwnership (#937) * ownable: add a notice on renounceOwnership * Apply the suggestion by @shrugs --- contracts/ownership/Ownable.sol | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contracts/ownership/Ownable.sol b/contracts/ownership/Ownable.sol index d773a24d6d3..f42df46f6bb 100644 --- a/contracts/ownership/Ownable.sol +++ b/contracts/ownership/Ownable.sol @@ -35,6 +35,9 @@ contract Ownable { /** * @dev Allows the current owner to relinquish control of the contract. + * @notice Renouncing to ownership will leave the contract without an owner. + * It will not be possible to call the functions with the `onlyOwner` + * modifier anymore. */ function renounceOwnership() public onlyOwner { emit OwnershipRenounced(owner);