Add a leading underscore to internal and private functions. (#1257)
* Add a leading underscore to internal and private functions. Fixes #1176 * Remove super * update the ERC721 changes * add missing underscore after merge * Fix mock
This commit is contained in:
committed by
Francisco Giordano
parent
fbfd1fed45
commit
b0f20d43df
@ -28,7 +28,7 @@ contract RBACMintableToken is ERC20Mintable, RBAC {
|
||||
* @param _minter address
|
||||
*/
|
||||
function addMinter(address _minter) public onlyOwner {
|
||||
addRole(_minter, ROLE_MINTER);
|
||||
_addRole(_minter, ROLE_MINTER);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -36,6 +36,6 @@ contract RBACMintableToken is ERC20Mintable, RBAC {
|
||||
* @param _minter address
|
||||
*/
|
||||
function removeMinter(address _minter) public onlyOwner {
|
||||
removeRole(_minter, ROLE_MINTER);
|
||||
_removeRole(_minter, ROLE_MINTER);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user