update go-nostr dependency.

This commit is contained in:
fiatjaf
2023-10-08 14:41:43 -03:00
parent c214513304
commit 3896ef323b
4 changed files with 33 additions and 10 deletions

4
req.go
View File

@@ -141,8 +141,8 @@ standalone:
if c.Bool("stream") {
fn = pool.SubMany
}
for evt := range fn(c.Context, relays, nostr.Filters{filter}) {
fmt.Println(evt)
for ie := range fn(c.Context, relays, nostr.Filters{filter}) {
fmt.Println(ie.Event)
}
} else {
// no relays given, will just print the filter