Skip to content

Commit f1c05f3

Browse files
fix: mint to sender
The default behavior of minting to the sender causes issues when using this contract with the deterministic deployer since it can't receive the NFT. I'm removing this feature since I don't think it's needed.
1 parent c2ebf52 commit f1c05f3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

contracts/src/tokens/ERC721.sol

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ contract ERC721 is OZ_ERC721 {
77
uint256 public currentTokenId = 0;
88

99
constructor() OZ_ERC721("MyNFT", "MNFT") {
10-
mintBatch(msg.sender, 10);
1110
}
1211

1312
function mintBatch(address to, uint256 amount) public {

0 commit comments

Comments
 (0)