Skip to content

Commit

Permalink
fix(contracts): OZ-L02 Utilizing Deprecated Function From Library (#902)
Browse files Browse the repository at this point in the history
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
  • Loading branch information
zimpha and HAOYUatHZ committed Sep 1, 2023
1 parent 0955382 commit 255eb5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/src/rate-limiter/TokenRateLimiter.sol
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ contract TokenRateLimiter is AccessControlEnumerable, ITokenRateLimiter {
revert PeriodIsZero();
}

_setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
_grantRole(DEFAULT_ADMIN_ROLE, msg.sender);

periodDuration = _periodDuration;
}
Expand Down

0 comments on commit 255eb5f

Please sign in to comment.