Unverified Commit 492ef4a4 by Francisco Giordano Committed by GitHub

Merge pull request #571 from quantum13/patch-1

Small code style change
parents 5f67dd78 03ad0efd
...@@ -35,7 +35,7 @@ contract Ownable { ...@@ -35,7 +35,7 @@ contract Ownable {
* @dev Allows the current owner to transfer control of the contract to a newOwner. * @dev Allows the current owner to transfer control of the contract to a newOwner.
* @param newOwner The address to transfer ownership to. * @param newOwner The address to transfer ownership to.
*/ */
function transferOwnership(address newOwner) onlyOwner public { function transferOwnership(address newOwner) public onlyOwner {
require(newOwner != address(0)); require(newOwner != address(0));
OwnershipTransferred(owner, newOwner); OwnershipTransferred(owner, newOwner);
owner = newOwner; owner = newOwner;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment