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

Fix issue where id tag filters are pushed as strings #37

Merged
merged 1 commit into from
Aug 2, 2024

Conversation

jb55
Copy link
Contributor

@jb55 jb55 commented Aug 1, 2024

When creating filters, sometimes IDs are pushed as strings, so if there is ever a 0 byte, the id prematurely ends, causing the filter to not match

Fixes: rust-nostr/nostr#454

When creating filters, sometimes IDs are pushed as strings, so if there
is ever a 0 byte, the id prematurely ends, causing the filter to not
match

Fixes: rust-nostr/nostr#454
Signed-off-by: William Casarin <[email protected]>
@jb55 jb55 force-pushed the fix-broken-filters branch from a29909b to 21d6b2b Compare August 2, 2024 00:09
@jb55 jb55 merged commit 21d6b2b into master Aug 2, 2024
1 check 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.

Some query issues with nostrdb backend
1 participant