Skip to content

Commit

Permalink
fix count request in anstract relay
Browse files Browse the repository at this point in the history
  • Loading branch information
hzrd149 authored and fiatjaf committed May 2, 2024
1 parent d0ae8b3 commit e217f75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion abstract-relay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ export class AbstractRelay {
const ret = new Promise<number>((resolve, reject) => {
this.openCountRequests.set(id, { resolve, reject })
})
this.send('["COUNT","' + id + '",' + JSON.stringify(filters) + ']')
this.send('["COUNT","' + id + '",' + JSON.stringify(filters).substring(1))
return ret
}

Expand Down

0 comments on commit e217f75

Please sign in to comment.