fix publishing to multiple relays.

This commit is contained in:
fiatjaf 2024-01-16 09:16:56 -03:00
parent ad7010e506
commit 48d19196bb

View File

@ -123,7 +123,6 @@ example:
doAuth := c.Bool("auth") doAuth := c.Bool("auth")
// then process input and generate events // then process input and generate events
nextline:
for stdinEvent := range getStdinLinesOrBlank() { for stdinEvent := range getStdinLinesOrBlank() {
evt := nostr.Event{ evt := nostr.Event{
Tags: make(nostr.Tags, 0, 3), Tags: make(nostr.Tags, 0, 3),
@ -233,7 +232,7 @@ example:
if err == nil { if err == nil {
// published fine // published fine
log("success.\n") log("success.\n")
continue nextline continue // continue to next relay
} }
// error publishing // error publishing