style: use the max-len solidity rule (#944)
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user