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
+10
View File
@@ -103,3 +103,13 @@ func subIdToSerial(subId string) int64 {
serialId, _ := strconv.ParseInt(subId[0:n], 10, 64)
return serialId
}
func isLowerHex(thing string) bool {
for _, charNumber := range thing {
if (charNumber >= 48 && charNumber <= 57) || (charNumber >= 97 && charNumber <= 102) {
continue
}
return false
}
return true
}