From ad292c09c54de2e75d1dc38711bf8f44434ba511 Mon Sep 17 00:00:00 2001 From: tallalnparis4ev <47358379+tallalnparis4ev@users.noreply.github.com> Date: Sat, 9 Apr 2022 03:04:53 +0100 Subject: [PATCH] Update CryptoBoys.sol tpyo, i mean typo --- src/contracts/CryptoBoys.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/contracts/CryptoBoys.sol b/src/contracts/CryptoBoys.sol index a156e20..b2dbbfe 100644 --- a/src/contracts/CryptoBoys.sol +++ b/src/contracts/CryptoBoys.sol @@ -45,7 +45,7 @@ contract CryptoBoys is ERC721 { // mint a new crypto boy function mintCryptoBoy(string memory _name, string memory _tokenURI, uint256 _price, string[] calldata _colors) external { - // check if thic fucntion caller is not an zero address account + // check if this fucntion caller is not a zero address account require(msg.sender != address(0)); // increment counter cryptoBoyCounter ++; @@ -192,4 +192,4 @@ contract CryptoBoys is ERC721 { // set and update that token in the mapping allCryptoBoys[_tokenId] = cryptoboy; } -} \ No newline at end of file +}