fix: Events initialization

This commit is contained in:
callebtc
2023-02-07 21:57:17 +01:00
parent 15e291ed1a
commit 2dfb24ac4b
2 changed files with 14 additions and 6 deletions

View File

@@ -135,12 +135,11 @@ class Relay:
e = message_json[2]
event = Event(
e["pubkey"],
e["content"],
e["pubkey"],
e["created_at"],
e["kind"],
e["tags"],
e["id"],
e["sig"],
)
if not event.verify():