changed nostr relays from examples

This commit is contained in:
leorighi
2024-04-11 19:23:38 -03:00
committed by fiatjaf_
parent 907cfd7846
commit 87390c11ac
2 changed files with 4 additions and 4 deletions

View File

@@ -42,7 +42,7 @@ func main() {
``` go
ctx := context.Background()
relay, err := nostr.RelayConnect(ctx, "wss://nostr.zebedee.cloud")
relay, err := nostr.RelayConnect(ctx, "wss://relay.stoner.com")
if err != nil {
panic(err)
}
@@ -95,7 +95,7 @@ ev.Sign(sk)
// publish the event to two relays
ctx := context.Background()
for _, url := range []string{"wss://nostr.zebedee.cloud", "wss://nostr-pub.wellorder.net"} {
for _, url := range []string{"wss://relay.stoner.com", "wss://nostr-pub.wellorder.net"} {
relay, err := nostr.RelayConnect(ctx, url)
if err != nil {
fmt.Println(err)