diff --git a/example/example.go b/example/example.go index 569c85e..6eed9c0 100644 --- a/example/example.go +++ b/example/example.go @@ -17,8 +17,7 @@ func main() { ctx, cancel := context.WithTimeout(context.Background(), 3*time.Second) // connect to relay - //url := "wss://nostr.zebedee.cloud" - url := "wss://nostr-relay.nokotaro.com" + url := "wss://nostr.zebedee.cloud" relay, err := nostr.RelayConnect(ctx, url) if err != nil { panic(err) @@ -117,7 +116,7 @@ func main() { } ev.Content = strings.TrimSpace(content) ev.Sign(sk) - for _, url := range []string{"wss://nostr-relay.nokotaro.com"} { + for _, url := range []string{"wss://nostr.zebedee.cloud"} { ctx := context.WithValue(context.Background(), "url", url) relay, e := nostr.RelayConnect(ctx, url) if e != nil {