Skip to content

Commit

Permalink
Contract bug fix & comment nit
Browse files Browse the repository at this point in the history
  • Loading branch information
jdubpark committed Dec 7, 2023
1 parent 56485eb commit 45af87f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contracts/StoryProtocol.sol
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ contract StoryProtocol is Multicall {
);
}

/// @notice Transfers an IP asset to another owner.
/// @notice Registers an IP Asset.
/// @param ipOrg_ The governing IP Org under which the IP asset is registered.
/// @param params_ The registration params, including owner, name, hash.
/// @param preHooksData_ Hooks to embed with the registration pre-call.
Expand Down
2 changes: 1 addition & 1 deletion contracts/modules/licensing/LicenseRegistry.sol
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ contract LicenseRegistry is ERC721 {
!MODULE_REGISTRY.isModule(
ModuleRegistryKeys.LICENSING_MODULE,
msg.sender
) || msg.sender != ownerOf(licenseId_)
) && msg.sender != ownerOf(licenseId_)
) {
revert Errors.LicenseRegistry_CallerNotLicensingModuleOrLicensee();
}
Expand Down

0 comments on commit 45af87f

Please sign in to comment.