mirror of
https://github.com/lens-protocol/core.git
synced 2026-01-09 14:18:04 -05:00
misc: Remove unnecessary returns from unfollow LensHub functions
This commit is contained in:
@@ -385,12 +385,11 @@ contract LensHub is
|
||||
uint256 unfollowerProfileId,
|
||||
uint256[] calldata idsOfProfilesToUnfollow
|
||||
) external override whenNotPaused onlyProfileOwnerOrDelegatedExecutor(msg.sender, unfollowerProfileId) {
|
||||
return
|
||||
FollowLib.unfollow({
|
||||
unfollowerProfileId: unfollowerProfileId,
|
||||
idsOfProfilesToUnfollow: idsOfProfilesToUnfollow,
|
||||
transactionExecutor: msg.sender
|
||||
});
|
||||
FollowLib.unfollow({
|
||||
unfollowerProfileId: unfollowerProfileId,
|
||||
idsOfProfilesToUnfollow: idsOfProfilesToUnfollow,
|
||||
transactionExecutor: msg.sender
|
||||
});
|
||||
}
|
||||
|
||||
/// @inheritdoc ILensProtocol
|
||||
@@ -401,12 +400,11 @@ contract LensHub is
|
||||
) external override whenNotPaused onlyProfileOwnerOrDelegatedExecutor(signature.signer, unfollowerProfileId) {
|
||||
MetaTxLib.validateUnfollowSignature(signature, unfollowerProfileId, idsOfProfilesToUnfollow);
|
||||
|
||||
return
|
||||
FollowLib.unfollow({
|
||||
unfollowerProfileId: unfollowerProfileId,
|
||||
idsOfProfilesToUnfollow: idsOfProfilesToUnfollow,
|
||||
transactionExecutor: signature.signer
|
||||
});
|
||||
FollowLib.unfollow({
|
||||
unfollowerProfileId: unfollowerProfileId,
|
||||
idsOfProfilesToUnfollow: idsOfProfilesToUnfollow,
|
||||
transactionExecutor: signature.signer
|
||||
});
|
||||
}
|
||||
|
||||
/// @inheritdoc ILensProtocol
|
||||
|
||||
Reference in New Issue
Block a user