diff --git a/packages/core/src/lib/filter/index.ts b/packages/core/src/lib/filter/index.ts index 35dc85cbe0..502128dfce 100644 --- a/packages/core/src/lib/filter/index.ts +++ b/packages/core/src/lib/filter/index.ts @@ -83,10 +83,6 @@ class Filter extends BaseProtocol implements IFilter { ); const requestId = request.requestId; - if (!requestId) - throw new Error( - "Internal error: createRequest expected to set `requestId`" - ); const peer = await this.getPeer(opts?.peerId); const stream = await this.newStream(peer);