diff --git a/src/client.ts b/src/client.ts index c3d7cd9a..25bbe65a 100644 --- a/src/client.ts +++ b/src/client.ts @@ -1,6 +1,6 @@ import { type Event, type Filter, matchFilters } from '@/deps.ts'; import * as pipeline from '@/pipeline.ts'; -import { allRelays, pool } from '@/pool.ts'; +import { activeRelays, pool } from '@/pool.ts'; import type { GetFiltersOpts } from '@/filter.ts'; @@ -13,7 +13,7 @@ function getFilters(filters: Filter[], opts: GetFiltersOpts const unsub = pool.subscribe( filters, - allRelays, + activeRelays, (event: Event | null) => { if (event && matchFilters(filters, event)) { pipeline.handleEvent(event).catch(() => {});