Skip to content

Commit

Permalink
making _assertCallerHasAccess virtual
Browse files Browse the repository at this point in the history
  • Loading branch information
dsshap committed Mar 7, 2024
1 parent 9e4440c commit 9904de9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/engines/BaseEngine.sol
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ abstract contract BaseEngine {
* @notice revert if the msg.sender is not authorized to access an subAccount id
* @param _subAccount subaccount id
*/
function _assertCallerHasAccess(address _subAccount) internal {
function _assertCallerHasAccess(address _subAccount) internal virtual {
if (_isPrimaryAccountFor(msg.sender, _subAccount)) return;

// the sender is not the direct owner. check if they're authorized
Expand Down

0 comments on commit 9904de9

Please sign in to comment.