PatrickAlphaC / hardhat-nft-fcc

103 stars 140 forks source link

CreatedNft should be emitted before tokenCounter increment #100

Closed J-dev740 closed 1 year ago

J-dev740 commented 1 year ago

-emit CreatedNft will produce tokenId+1 for highValue provided -getTokenCounter() will Produce lastTokenId+1 value which will be reverted with error()