Browse Source

Update ownable.rst

Change the name of the function in the docs to the actual name in the contract source To prevent misunderstandings.
Mauro Velazquez 8 years ago
parent
commit
b05fb9c200
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/source/ownable.rst

+ 2 - 2
docs/source/ownable.rst

@@ -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.
+Transfers ownership of the contract to the passed address.