Skip to content

Commit

Permalink
[#4] Run yarn fmt:sol
Browse files Browse the repository at this point in the history
  • Loading branch information
akshay-ap committed Jun 23, 2023
1 parent b83c7e0 commit d76e769
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/SafeProtocolMediator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ contract SafeProtocolMediator is ISafeProtocolMediator, Ownable2Step {
revert ModuleRequiresRootAccess(msg.sender);
}

if(!enabledComponents[address(safe)][msg.sender].rootAddressGranted){
if (!enabledComponents[address(safe)][msg.sender].rootAddressGranted) {
// TODO: Need new error type?
revert ModuleRequiresRootAccess(msg.sender);
}
Expand Down Expand Up @@ -154,7 +154,7 @@ contract SafeProtocolMediator is ISafeProtocolMediator, Ownable2Step {
* @param safe Address of a safe
* @param module Address of a module
*/
function getModuleInfo(address safe, address module) external view returns(MoudleAccessInfo memory enabled) {
function getModuleInfo(address safe, address module) external view returns (MoudleAccessInfo memory enabled) {
return enabledComponents[safe][module];
}
}

0 comments on commit d76e769

Please sign in to comment.