UTXOnly / nostpy-relay

A nostr relay backed by a postgresql database, run with docker-compose
The Unlicense
17 stars 6 forks source link

Fail to add kind 0 notes, returns false positive OK "true" message #55

Closed UTXOnly closed 5 months ago

UTXOnly commented 6 months ago

Relay is failing to add Kind 0 notes and returning a false positive ["OK","<EVENT_ID>","true"] response to clients

Expected behavior

Submitting a kind 0 note results in it being added to the database and return ["OK","<EVENT_ID>","true"] response to client upon successfully adding the event to the database and return ["OK","<EVENT_ID>","false"] if there were any errors.

Actual behavior