Merge pull request #571 from quantum13/patch-1

Small code style change
This commit is contained in:
Francisco Giordano
2017-11-22 14:33:01 -03:00
committed by GitHub

View File

@ -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;