This commit is contained in:
tf 2025-09-09 18:50:57 -05:00 committed by GitHub
commit 282b41d2a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -426,7 +426,7 @@ export class Subscription {
}
public fire() {
this.relay.send('["REQ","' + this.id + '",' + JSON.stringify(this.filters).substring(1))
this.relay.send(JSON.stringify(['REQ', this.id, ...this.filters]))
// only now we start counting the eoseTimeout
this.eoseTimeoutHandle = setTimeout(this.receivedEose.bind(this), this.eoseTimeout)