From a8bfc175c5a9c675ea2b158735bfb8a3bd079f28 Mon Sep 17 00:00:00 2001 From: Spencer T Brody Date: Fri, 11 Oct 2024 15:02:45 -0400 Subject: [PATCH] backwards condition --- packages/core/src/dispatcher.ts | 2 +- packages/core/src/stream-loading/__tests__/tip-fetcher.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/src/dispatcher.ts b/packages/core/src/dispatcher.ts index 94831f8fac..dff480c2c3 100644 --- a/packages/core/src/dispatcher.ts +++ b/packages/core/src/dispatcher.ts @@ -140,7 +140,7 @@ export class Dispatcher { const rustCeramic = EnvironmentUtils.useRustCeramic() this.enableSync = rustCeramic ? false : enableSync - if (!this.enableSync) { + if (this.enableSync) { const pubsub = new Pubsub( _ipfs, topic, diff --git a/packages/core/src/stream-loading/__tests__/tip-fetcher.test.ts b/packages/core/src/stream-loading/__tests__/tip-fetcher.test.ts index 3bae9c37e5..f29ebb0205 100644 --- a/packages/core/src/stream-loading/__tests__/tip-fetcher.test.ts +++ b/packages/core/src/stream-loading/__tests__/tip-fetcher.test.ts @@ -12,7 +12,7 @@ import { lastValueFrom } from 'rxjs' const TOPIC = '/ceramic/test12345' // Will not pass in V' as there is no pubsub -describeIfV3('TipFetcher test', () => { +describe('TipFetcher test', () => { jest.setTimeout(1000 * 30) let dispatcher: Dispatcher