revert accidentally changes

This commit is contained in:
Yasuhiro Matsumoto 2023-02-26 21:55:46 +09:00 committed by fiatjaf_
parent 2d7dae3f69
commit e7e20f3e00

View File

@ -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 {