Skip to content

Conversation

@AlexanderKolberg
Copy link
Member

No description provided.

The previous validation !!p.tokenId && p.tokenId > 0n rejected tokenId=0
since 0n is falsy and 0n > 0n is false. Changed to !== undefined and >= 0n
to properly allow valid tokenId=0 NFTs.
Copy link
Contributor

@mithatakbulut mithatakbulut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@AlexanderKolberg AlexanderKolberg merged commit 04f8619 into master Jan 14, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants