Replace constant with view/pure

This commit is contained in:
Alejandro Santander
2017-11-21 17:20:19 -03:00
parent e6213767fa
commit 815d9e1f45
14 changed files with 22 additions and 22 deletions

View File

@ -35,7 +35,7 @@ contract BasicToken is ERC20Basic {
* @param _owner The address to query the the balance of.
* @return An uint256 representing the amount owned by the passed address.
*/
function balanceOf(address _owner) public constant returns (uint256 balance) {
function balanceOf(address _owner) public view returns (uint256 balance) {
return balances[_owner];
}