fixup! chore: update filter.proto

This commit is contained in:
fryorcraken.eth 2023-02-24 22:09:25 +11:00
parent f6130d65c9
commit d6184fb41a
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 0 additions and 4 deletions

View File

@ -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);