mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-11-18 18:16:50 +01:00
replace deprecated functions in multiple places.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user