mirror of
https://github.com/fiatjaf/nak.git
synced 2024-11-22 00:09:08 -05:00
fix publishing to multiple relays.
This commit is contained in:
parent
ad7010e506
commit
48d19196bb
3
event.go
3
event.go
|
@ -123,7 +123,6 @@ example:
|
|||
doAuth := c.Bool("auth")
|
||||
|
||||
// then process input and generate events
|
||||
nextline:
|
||||
for stdinEvent := range getStdinLinesOrBlank() {
|
||||
evt := nostr.Event{
|
||||
Tags: make(nostr.Tags, 0, 3),
|
||||
|
@ -233,7 +232,7 @@ example:
|
|||
if err == nil {
|
||||
// published fine
|
||||
log("success.\n")
|
||||
continue nextline
|
||||
continue // continue to next relay
|
||||
}
|
||||
|
||||
// error publishing
|
||||
|
|
Loading…
Reference in New Issue
Block a user