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
Event is received
delete_check() method is called
add_event() method is never called afterwards to replace the event
Relay still returns false positive ["OK","<EVENT_ID>","true"] message to client
Relay is failing to add Kind 0 notes and returning a false positive
["OK","<EVENT_ID>","true"]
response to clientsExpected 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
Event is received
delete_check()
method is calledadd_event()
method is never called afterwards to replace the eventRelay still returns false positive
["OK","<EVENT_ID>","true"]
message to client