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

View File

@@ -121,8 +121,8 @@ var count = &cli.Command{
relays := c.Args().Slice()
if len(relays) > 0 {
pool := nostr.NewSimplePool(c.Context)
for evt := range pool.SubManyEose(c.Context, relays, nostr.Filters{filter}) {
fmt.Println(evt)
for ie := range pool.SubManyEose(c.Context, relays, nostr.Filters{filter}) {
fmt.Println(ie.Event)
}
} else {
// no relays given, will just print the filter