adapt to go-nostr's new methods that take just one filter (and paginator).

This commit is contained in:
fiatjaf
2025-02-13 23:09:56 -03:00
parent 95bed5d5a8
commit 17920d8aef
6 changed files with 31 additions and 90 deletions

View File

@@ -113,7 +113,7 @@ var fetch = &cli.Command{
continue
}
for ie := range sys.Pool.SubManyEose(ctx, relays, nostr.Filters{filter}) {
for ie := range sys.Pool.FetchMany(ctx, relays, filter) {
stdout(ie.Event)
}
}