Update ownable.rst

Change the name of the function in the docs to the actual name in the contract source To prevent misunderstandings.
This commit is contained in:
Mauro Velazquez
2017-07-17 21:02:00 -03:00
committed by Francisco Giordano
parent 4f34d41523
commit b05fb9c200

View File

@ -11,6 +11,6 @@ modifier onlyOwner( )
""""""""""""""""""""""""""""""""""""""
Prevents function from running if it is called by anyone other than the owner.
transfer(address newOwner) onlyOwner
transferOwnership(address newOwner) onlyOwner
""""""""""""""""""""""""""""""""""""""
Transfers ownership of the contract to the passed address.