mirror of
https://github.com/lens-protocol/core.git
synced 2026-04-22 03:02:03 -04:00
fix: DE logic for unlink fixed
This commit is contained in:
@@ -180,7 +180,7 @@ contract TokenHandleRegistry is ITokenHandleRegistry {
|
||||
ILensHandles(LENS_HANDLES).exists(handleId) &&
|
||||
ILensHandles(LENS_HANDLES).ownerOf(handleId) != transactionExecutor &&
|
||||
ILensHub(LENS_HUB).exists(profileId) &&
|
||||
(ILensHub(LENS_HUB).ownerOf(profileId) != transactionExecutor ||
|
||||
(ILensHub(LENS_HUB).ownerOf(profileId) != transactionExecutor &&
|
||||
!ILensHub(LENS_HUB).isDelegatedExecutorApproved(profileId, transactionExecutor))
|
||||
) {
|
||||
revert RegistryErrors.NotHandleNorTokenOwner();
|
||||
|
||||
Reference in New Issue
Block a user