Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

edit batchedList and add mergeFilters to it #302

Merged
merged 1 commit into from
Sep 24, 2023

Conversation

sepehr-safari
Copy link
Contributor

just added mergeFilters to batchedList method

@@ -79,13 +79,10 @@ export class SimplePool {
let eosesMissing = relays.length

let eoseSent = false
let eoseTimeout = setTimeout(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there are also some auto code formats.

@@ -213,7 +210,7 @@ export class SimplePool {
relays.push(...br.relays)
})

const sub = this.sub(relays, filters)
const sub = this.sub(relays, [mergeFilters(...filters)])
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the actual change. just added mergeFilters.

@fiatjaf fiatjaf merged commit e899cc3 into nbd-wtf:master Sep 24, 2023
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants