Skip to content

Commit

Permalink
fix identation
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Lima committed Jul 13, 2023
1 parent 47dc452 commit 1aca1e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/RolesRegistry.sol
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ contract RolesRegistry is IRolesRegistry {
bool isValid = roleAssignments[_owner][_account][_nftAddress][_tokenId][_role].expirationDate > block.timestamp;

if(_supportsMultipleAssignments){
return isValid;
return isValid;
} else {
return isValid && lastRoleAssignment[_owner][_nftAddress][_tokenId][_role] == _account;
return isValid && lastRoleAssignment[_owner][_nftAddress][_tokenId][_role] == _account;
}
}

Expand Down

0 comments on commit 1aca1e5

Please sign in to comment.