Skip to content

Commit

Permalink
Close valid name check
Browse files Browse the repository at this point in the history
  • Loading branch information
lykhonis committed Nov 13, 2023
1 parent e8b14b0 commit 06c15a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/page/PageName.sol
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ contract PageName is LSP8EnumerableInitAbstract, ReentrancyGuardUpgradeable, Pau
emit ReleasedName(tokenOwner, tokenId);
}

function _isValidName(string memory name) public view returns (bool) {
function _isValidName(string memory name) private view returns (bool) {
bytes memory chars = bytes(name);
uint256 length = chars.length;
if (length < minimumLength || length > 32) {
Expand Down

0 comments on commit 06c15a2

Please sign in to comment.