replace deprecated functions in multiple places.

This commit is contained in:
fiatjaf
2025-03-10 02:54:34 -03:00
parent 8d869009b0
commit 459273216c
7 changed files with 19 additions and 27 deletions

View File

@@ -34,7 +34,7 @@ func (pool *SimplePool) PaginatorWithInterval(
time.Sleep(interval)
keepGoing := false
for evt := range pool.SubManyEose(ctx, urls, Filters{filter}, opts...) {
for evt := range pool.FetchMany(ctx, urls, filter, opts...) {
if slices.Contains(repeatedCache, evt.ID) {
continue
}