From d19ccccff02f805b383f40fa1e71b2b2a79b1e5c Mon Sep 17 00:00:00 2001 From: Axel Date: Mon, 27 Nov 2023 18:38:41 +0000 Subject: [PATCH] Update documentation This fix the error I had: `Event.__init__() missing 1 required positional argument: 'content'` My guess is that other parts of the documentation would need to be updated but I only tested the **Publish to relays** section for now --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d079ed1..236cec9 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ time.sleep(1.25) # allow the connections to open private_key = PrivateKey() -event = Event("Hello Nostr") +event = Event(private_key.public_key.hex(), "Hello Nostr") private_key.sign_event(event) relay_manager.publish_event(event)