bug: Fix scoping of variable
@@ -18,8 +18,8 @@ contract Check is ReservedAddress {
private
returns (bool)
{
- if (!auth.checkPermission(msg.sender, _permission)) {
IAuthorization auth = IAuthorization(authorizationAddr);
+ if (!auth.checkPermission(msg.sender, _permission)) {
IAllGroups groups = IAllGroups(allGroupsAddr);
address[] memory allGroups = groups.queryGroups();
IGroup group;
