HashLips / solidity_smart_contracts

A list of smart contracts coded in solidity
MIT License
599 stars 491 forks source link

Looks like a bug - in https://github.com/HashLips/solidity_smart_contracts/blob/main/contracts/NFT/NFT.sol #32

Closed jivanr closed 2 years ago

jivanr commented 2 years ago

Line 48 - get the totalSupply() in a supply variable

Line 61 - in the loop, the mint function keeps running of a static token id defined in line 48