Browse Source

Merge pull request #571 from quantum13/patch-1

Small code style change
Francisco Giordano 7 years ago
parent
commit
492ef4a419
1 changed files with 1 additions and 1 deletions
  1. 1 1
      contracts/ownership/Ownable.sol

+ 1 - 1
contracts/ownership/Ownable.sol

@@ -35,7 +35,7 @@ contract Ownable {
    * @dev Allows the current owner to transfer control of the contract to a newOwner.
    * @param newOwner The address to transfer ownership to.
    */
-  function transferOwnership(address newOwner) onlyOwner public {
+  function transferOwnership(address newOwner) public onlyOwner {
     require(newOwner != address(0));
     OwnershipTransferred(owner, newOwner);
     owner = newOwner;