mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-03-17 13:22:56 +01:00
revert accidentally changes
This commit is contained in:
parent
2d7dae3f69
commit
e7e20f3e00
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user