mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-07-28 12:12:12 +02:00
replace usage of IsValidPublicKeyHex() in subpackages.
This commit is contained in:
@@ -64,7 +64,7 @@ func ParseLiveEvent(event nostr.Event) LiveEvent {
|
||||
case "recording":
|
||||
liev.Recording = append(liev.Recording, 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