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

Strfry should send CLOSED for invalid messages #135

Open
alexgleason opened this issue Jan 23, 2025 · 0 comments
Open

Strfry should send CLOSED for invalid messages #135

alexgleason opened this issue Jan 23, 2025 · 0 comments

Comments

@alexgleason
Copy link
Contributor

Steps to reproduce:

$ wscat -c ws://localhost:7777                                     
Connected (press CTRL+C to quit)
> ["REQ", "_", {"kinds":[0],"authors":["lol"]}]
< ["NOTICE","ERROR: bad req: uneven size input to from_hex"]
>

Expected behavior:

> ["REQ", "_", {"kinds":[0],"authors":["lol"]}]
< ["CLOSED", "_", "error: bad req: uneven size input to from_hex"]

CLOSED is part of NIP-01 as of nostr-protocol/nips#902

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

No branches or pull requests

1 participant