Skip to main content
1 vote

Mint function is failing with Status: "Unfinalized (Safe)"everytime, i am trying to mint the contract

You've added the minting logic twice: once in the mint function and again in the generatePokeMon function. As a result, the _nextTokenId and newItemId are both being incremented twice, causing a ...
SYED ASAD KAZMI's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible