style: use the max-len solidity rule (#944)

This commit is contained in:
Leo Arias
2018-05-14 11:42:32 -06:00
committed by GitHub
parent ba4cf03da7
commit 746673a94f
36 changed files with 430 additions and 69 deletions

View File

@ -22,7 +22,15 @@ contract CappedToken is MintableToken {
* @param _amount The amount of tokens to mint.
* @return A boolean that indicates if the operation was successful.
*/
function mint(address _to, uint256 _amount) onlyOwner canMint public returns (bool) {
function mint(
address _to,
uint256 _amount
)
onlyOwner
canMint
public
returns (bool)
{
require(totalSupply_.add(_amount) <= cap);
return super.mint(_to, _amount);