replace usage of IsValidPublicKeyHex() in subpackages.

This commit is contained in:
fiatjaf
2024-01-18 20:30:20 -03:00
parent 9457c5a794
commit 2586144a5c
6 changed files with 14 additions and 14 deletions

View File

@ -75,7 +75,7 @@ func ParseCalendarEvent(event nostr.Event) CalendarEvent {
case "g":
calev.Geohashes = append(calev.Geohashes, tag[1])
case "p":
if nostr.IsValidPublicKeyHex(tag[1]) {
if nostr.IsValid32ByteHex(tag[1]) {
part := Participant{
PubKey: tag[1],
}