Skip to content

Commit

Permalink
[#4, #16] Remove todo related to checking interface id when enabling …
Browse files Browse the repository at this point in the history
…module
  • Loading branch information
akshay-ap committed Jun 29, 2023
1 parent 941f844 commit 65a45ea
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions contracts/SafeProtocolMediator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,6 @@ contract SafeProtocolMediator is ISafeProtocolMediator {
* @param allowRootAccess Bool indicating whether root access to be allowed.
*/
function enableModule(address module, bool allowRootAccess) external noZeroOrSentinelModule(module) {
// TODO: Check if module is a valid address and implements valid interface.

if (enabledModules[msg.sender][module].nextModulePointer != address(0)) {
revert ModuleAlreadyEnabled(msg.sender, module);
}
Expand Down

0 comments on commit 65a45ea

Please sign in to comment.