Skip to content

Commit

Permalink
Rename auxiliary function
Browse files Browse the repository at this point in the history
  • Loading branch information
cristovaoth committed Oct 12, 2023
1 parent 13b826e commit e5a977f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts/core/GuardableModifier.sol
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ abstract contract GuardableModifier is Module, Guardable, Modifier {
address(0),
payable(0),
"",
_authorizer()
sentOrSignedBy()
);
}
success = IAvatar(target).execTransactionFromModule(
Expand Down Expand Up @@ -78,7 +78,7 @@ abstract contract GuardableModifier is Module, Guardable, Modifier {
address(0),
payable(0),
"",
_authorizer()
sentOrSignedBy()
);
}

Expand All @@ -90,7 +90,7 @@ abstract contract GuardableModifier is Module, Guardable, Modifier {
}
}

function _authorizer() private returns (address) {
function sentOrSignedBy() private returns (address) {
if (modules[msg.sender] != address(0)) {
return msg.sender;
}
Expand Down

0 comments on commit e5a977f

Please sign in to comment.