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

@ -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];