Submitted by cmichel
ApprovalFollowModule.sol#L32
The ApprovalFollowModule.approve function is indexed by both (owner = IERC721(HUB).ownerOf(profileId), profileId) in case the profileId NFT is transferred.
However, upon transfer, the old approvals are not cleared.
This can lead to similar issues as OpenSea not cancelling their sale offers upon NFT transfer.
When the NFT is at some point transferred back to the original owner, all the old approvals are still intact which might not be expected by the owner.
Consider resetting all approvals upon transfer.
Zer0dot (Aave Lens) disputed and commented:
0xleastwood (judge) commented:
donosonaumczuk (Aave Lens) commented:
Zer0dot (Aave Lens) commented:
0xleastwood (judge) commented:
Zer0dot (Aave Lens) acknowledged and commented:
