Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Token ids start from 1 #8

Open
pauliax opened this issue Nov 2, 2021 · 0 comments
Open

Token ids start from 1 #8

pauliax opened this issue Nov 2, 2021 · 0 comments

Comments

@pauliax
Copy link

pauliax commented Nov 2, 2021

When minting token id starts from 1, not 0:

_safeMint(msg.sender, nftCount + 1);

functions that depend on tokenId, e.g. tokenURI will return unrevealed data for id 0.

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

No branches or pull requests

1 participant