Replaces amount with value for consistency (#1378)

* fixes #1372

* done in ERC20Capped and ERC20Mintable

(cherry picked from commit fd4de77651)
This commit is contained in:
Aniket
2018-10-04 16:21:52 +05:30
committed by Leo Arias
parent 13fb1f662a
commit 109eba9273
3 changed files with 23 additions and 23 deletions

View File

@ -11,18 +11,18 @@ contract ERC20Mintable is ERC20, MinterRole {
/**
* @dev Function to mint tokens
* @param to The address that will receive the minted tokens.
* @param amount The amount of tokens to mint.
* @param value The amount of tokens to mint.
* @return A boolean that indicates if the operation was successful.
*/
function mint(
address to,
uint256 amount
uint256 value
)
public
onlyMinter
returns (bool)
{
_mint(to, amount);
_mint(to, value);
return true;
}
}