Skip to content

Commit

Permalink
chore: use helper func in modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
ypatil12 committed Nov 11, 2024
1 parent f1eb96e commit d2fcfe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/contracts/mixins/PermissionControllerMixin.sol
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ abstract contract PermissionControllerMixin {
modifier checkCanCall(
address account
) {
require(permissionController.canCall(account, msg.sender, address(this), msg.sig), InvalidPermissions());
require(_checkCanCall(account), InvalidPermissions());
_;
}

Expand Down

0 comments on commit d2fcfe0

Please sign in to comment.