get rid of all the deprecated things.

This commit is contained in:
fiatjaf
2024-10-14 16:18:32 -03:00
parent 7ede46661c
commit 9057b1a7e1
5 changed files with 24 additions and 41 deletions

View File

@@ -19,7 +19,7 @@ func IsValidRelayURL(u string) bool {
}
func IsValid32ByteHex(thing string) bool {
if strings.ToLower(thing) != thing {
if !isLowerHex(thing) {
return false
}
if len(thing) != 64 {