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:
Vittorio Minacori
2018-08-01 15:11:37 +02:00
committed by Nicolás Venturo
parent 9638ecd87a
commit ca9e317259
28 changed files with 2240 additions and 2250 deletions

View File

@ -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);
}