Skip to content

Commit

Permalink
Syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
rya-sge committed Jan 19, 2024
1 parent 98b124e commit dbe9516
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions contracts/modules/wrapper/controllers/ValidationModule.sol
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ abstract contract ValidationModule is
function setRuleEngine(
IRuleEngine ruleEngine_
) external onlyRole(DEFAULT_ADMIN_ROLE) {
if (ruleEngine == ruleEngine_)
revert Errors.CMTAT_ValidationModule_SameValue();
if (ruleEngine == ruleEngine_){
revert Errors.CMTAT_ValidationModule_SameValue();
}
ruleEngine = ruleEngine_;
emit RuleEngine(ruleEngine_);
}
Expand Down

0 comments on commit dbe9516

Please sign in to comment.