Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Raul committed Feb 8, 2024
1 parent 969ad49 commit 915d3fc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions contracts/modules/licensing/LicensingModule.sol
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,7 @@ contract LicensingModule is AccessControlled, ILicensingModule {
_totalPolicies
);

if (!newPol) {
return polId;
} else {
if (newPol) {
_totalPolicies = polId;
_policies[polId] = pol;
emit PolicyRegistered(msg.sender, polId, data);
Expand Down

0 comments on commit 915d3fc

Please sign in to comment.