Skip to content

Commit

Permalink
Added break in deleteDelegate (#696)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsam4 authored Jun 12, 2019
1 parent 90199cb commit 3cb9829
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ contract GeneralPermissionManager is GeneralPermissionManagerStorage, IPermissio
if (allDelegates[i] == _delegate) {
allDelegates[i] = allDelegates[delegateLen - 1];
allDelegates.length--;
break;
}
}
delete delegateDetails[_delegate];
Expand Down

0 comments on commit 3cb9829

Please sign in to comment.