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
@ -35,8 +35,8 @@ library Roles {
|
||||
* // reverts
|
||||
*/
|
||||
function check(Role storage _role, address _addr)
|
||||
view
|
||||
internal
|
||||
view
|
||||
{
|
||||
require(has(_role, _addr));
|
||||
}
|
||||
@ -46,8 +46,8 @@ library Roles {
|
||||
* @return bool
|
||||
*/
|
||||
function has(Role storage _role, address _addr)
|
||||
view
|
||||
internal
|
||||
view
|
||||
returns (bool)
|
||||
{
|
||||
return _role.bearer[_addr];
|
||||
|
||||
Reference in New Issue
Block a user