Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Vectorized committed Feb 2, 2024
1 parent dd52289 commit a075afc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/ERC721A.sol
Original file line number Diff line number Diff line change
Expand Up @@ -515,8 +515,8 @@ contract ERC721A is IERC721A {
*/
function _exists(uint256 tokenId) internal view virtual returns (bool result) {
if (_startTokenId() <= tokenId) {
if (_sequentialUpTo() != type(uint256).max && tokenId > _sequentialUpTo())
return _packedOwnershipExists(_packedOwnerships[tokenId]);
if (_sequentialUpTo() != type(uint256).max)
if (tokenId > _sequentialUpTo()) return _packedOwnershipExists(_packedOwnerships[tokenId]);

if (tokenId < _currentIndex) {
uint256 packed;
Expand Down

0 comments on commit a075afc

Please sign in to comment.