diff --git a/contracts/modules/ModuleRegistry.sol b/contracts/modules/ModuleRegistry.sol index 9481757..6b5041a 100644 --- a/contracts/modules/ModuleRegistry.sol +++ b/contracts/modules/ModuleRegistry.sol @@ -63,7 +63,7 @@ contract ModuleRegistry is IModuleRegistry, AccessControlled, Multicall { } // Returns true if the provided address is a module. - function isModule(string calldata moduleKey, address caller_) external view returns (bool) { + function isModule(string calldata moduleKey_, address caller_) external view returns (bool) { return address(_protocolModules[moduleKey]) == caller_; }