BatchedSubManyEose => BatchedQueryMany

This commit is contained in:
fiatjaf
2025-05-12 09:25:02 -03:00
parent 6d44b5b0dc
commit f4855dba4e
2 changed files with 2 additions and 2 deletions

View File

@@ -103,7 +103,7 @@ func (sys *System) batchLoadAddressableEvents(
wg.Wait()
// query all relays with the prepared filters
multiSubs := sys.Pool.BatchedSubManyEose(aggregatedContext, relayFilter, nostr.SubscriptionOptions{
multiSubs := sys.Pool.BatchedQueryMany(aggregatedContext, relayFilter, nostr.SubscriptionOptions{
Label: "loadaddrs",
})
nextEvent:

View File

@@ -121,7 +121,7 @@ func (sys *System) batchLoadReplaceableEvents(
// query all relays with the prepared filters
wg.Wait()
multiSubs := sys.Pool.BatchedSubManyEose(aggregatedContext, relayFilter, nostr.SubscriptionOptions{
multiSubs := sys.Pool.BatchedQueryMany(aggregatedContext, relayFilter, nostr.SubscriptionOptions{
Label: "repl~" + strconv.Itoa(int(kind)),
})
for {