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:
committed by
Francisco Giordano
parent
4f34d41523
commit
b05fb9c200
@ -11,6 +11,6 @@ modifier onlyOwner( )
|
|||||||
""""""""""""""""""""""""""""""""""""""
|
""""""""""""""""""""""""""""""""""""""
|
||||||
Prevents function from running if it is called by anyone other than the owner.
|
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.
|
Transfers ownership of the contract to the passed address.
|
||||||
|
|||||||
Reference in New Issue
Block a user