From bf51e76c9c0a5050d7009e48ec618431022865bb Mon Sep 17 00:00:00 2001 From: Ricardo Guilherme Schmidt <3esmit@gmail.com> Date: Wed, 21 Mar 2018 13:13:04 -0300 Subject: [PATCH] reduce warnings --- contracts/identity/Identity.sol | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/contracts/identity/Identity.sol b/contracts/identity/Identity.sol index c9b2236..0c35c5e 100644 --- a/contracts/identity/Identity.sol +++ b/contracts/identity/Identity.sol @@ -43,7 +43,8 @@ contract Identity is ERC725, ERC735 { modifier recoveryOnly { require( - (recoveryContract != address(0) && msg.sender == address(recoveryContract)) + recoveryContract != address(0) && + msg.sender == address(recoveryContract) ); _; } @@ -566,12 +567,12 @@ contract Identity is ERC725, ERC735 { { claims[_claimHash] = Claim( { - claimType: _claimType, - scheme: _scheme, - issuer: _issuer, - signature: _signature, - data: _data, - uri: _uri + claimType: _claimType, + scheme: _scheme, + issuer: _issuer, + signature: _signature, + data: _data, + uri: _uri } ); indexes[_claimHash] = claimsByType[_claimType].length;