mirror of
https://github.com/lens-protocol/core.git
synced 2026-04-22 03:02:03 -04:00
misc: Cleaned up comment.
This commit is contained in:
@@ -143,10 +143,10 @@ library GeneralHelpers {
|
||||
* @dev This fetches the owner address for a given token ID. Note that this does not check
|
||||
* and revert upon receiving a zero address.
|
||||
*
|
||||
* However, this function is always followed by a call to `_validateRecoveredAddress()` with
|
||||
* the returned address from this function as the signer, and since `_validateRecoveredAddress()`
|
||||
* reverts upon recovering the zero address, the execution will always revert if the owner returned
|
||||
* is the zero address.
|
||||
* However, this function is only used if this caveat is checked or if it is followed by a call
|
||||
* to `_validateRecoveredAddress()` with the returned address from this function as the signer,
|
||||
* and since `_validateRecoveredAddress()` reverts upon recovering the zero address, the execution
|
||||
* will always revert if the owner returned is the zero address.
|
||||
*/
|
||||
function unsafeOwnerOf(uint256 tokenId) internal view returns (address) {
|
||||
// Note that this does *not* include a zero address check, but this is acceptable because
|
||||
|
||||
Reference in New Issue
Block a user