mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-08-30 15:52:03 +02:00
small things.
This commit is contained in:
@@ -39,7 +39,7 @@ func ValidateAuthEvent(event *nostr.Event, challenge string, relayURL string) (p
|
||||
return "", false
|
||||
}
|
||||
|
||||
if event.Tags.GetFirst([]string{"challenge", challenge}) == nil {
|
||||
if event.Tags.FindWithValue("challenge", challenge) == nil {
|
||||
return "", false
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user