mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-07-12 12:32:32 +02:00
replace usage of IsValidPublicKeyHex() in subpackages.
This commit is contained in:
@ -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],
|
||||
}
|
||||
|
Reference in New Issue
Block a user