Skip to content

Commit

Permalink
FIX: isUpperCase variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusmihaic committed Apr 22, 2024
1 parent 7eed4e0 commit 5d78e8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/tokens/esdt.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ func IsTickerValid(ticker string) bool {
}

for _, ch := range ticker {
isLowerCaseCharacter := ch >= 'A' && ch <= 'Z'
isUpperCaseCharacter := ch >= 'A' && ch <= 'Z'
isNumber := ch >= '0' && ch <= '9'
isAllowedChar := isLowerCaseCharacter || isNumber
isAllowedChar := isUpperCaseCharacter || isNumber
if !isAllowedChar {
return false
}
Expand Down

0 comments on commit 5d78e8b

Please sign in to comment.