From 58b12ae462a9fedcb1e025f50e6e526741d40d39 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 22 Dec 2023 10:23:48 -0600 Subject: [PATCH] client: fix wrong import of allRelays --- src/client.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client.ts b/src/client.ts index c3d7cd9..25bbe65 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(() => {});