Update Truffle and Solium (#1105)
* fixed visibility warnings * solved visibility and line length warning * change a test assertion that fails due to chai dependence update * linter, constructor style and solved visibility warnings * Changed Windows line endings to Unix.
This commit is contained in:
committed by
Nicolás Venturo
parent
9638ecd87a
commit
ca9e317259
@ -46,8 +46,8 @@ contract RBACWithAdmin is RBAC {
|
||||
* @param _roleName the name of the role
|
||||
*/
|
||||
function adminAddRole(address _addr, string _roleName)
|
||||
onlyAdmin
|
||||
public
|
||||
onlyAdmin
|
||||
{
|
||||
addRole(_addr, _roleName);
|
||||
}
|
||||
@ -58,8 +58,8 @@ contract RBACWithAdmin is RBAC {
|
||||
* @param _roleName the name of the role
|
||||
*/
|
||||
function adminRemoveRole(address _addr, string _roleName)
|
||||
onlyAdmin
|
||||
public
|
||||
onlyAdmin
|
||||
{
|
||||
removeRole(_addr, _roleName);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user