diff --git a/contracts/lib/Errors.sol b/contracts/lib/Errors.sol index a32e7256..2b6ee6c7 100644 --- a/contracts/lib/Errors.sol +++ b/contracts/lib/Errors.sol @@ -288,11 +288,7 @@ library Errors { ); /// @notice licensing hook data configured in IP must be identical to the group licensing hook data. - error LicenseRegistry__IpLicensingHookDataNotMatchWithGroup( - address ipId, - bytes hookData, - bytes groupHookData - ); + error LicenseRegistry__IpLicensingHookDataNotMatchWithGroup(address ipId, bytes hookData, bytes groupHookData); /// @notice commercial revenue share configured in group must be NOT less than the IP commercial revenue share. error LicenseRegistry__GroupIpCommercialRevShareConfigMustNotLessThanIp( diff --git a/contracts/registries/LicenseRegistry.sol b/contracts/registries/LicenseRegistry.sol index 0af5375e..e1c67fc1 100644 --- a/contracts/registries/LicenseRegistry.sol +++ b/contracts/registries/LicenseRegistry.sol @@ -333,6 +333,7 @@ contract LicenseRegistry is ILicenseRegistry, AccessManagedUpgradeable, UUPSUpgr /// @param groupLicenseTermsId The ID of the license terms attached to the group. /// the IP must have this license terms. /// @return ipLicensingConfig The configuration for license attached to the IP. + // solhint-disable code-complexity function verifyGroupAddIp( address groupId, address groupRewardPool,