From 3962150f3f00f6e7669e582529e2cac3ceace10d Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Thu, 21 Jul 2022 06:38:42 -0300 Subject: [PATCH] fix missing ellipsis in pubkey in filter example. --- 21.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/21.md b/21.md index 10b98a92..e1607066 100644 --- a/21.md +++ b/21.md @@ -19,11 +19,11 @@ If the signature matches and the event pubkey corresponds to the kind-04 filter ### Example 1. Client connects to `wss://chat.relay.nostr.com/` -2. Client sends `["REQ", "my-dms", {"kinds": [4], "#p": ["aeae"]}, {"kinds": [4],"authors": ["aeae"]}]` +2. Client sends `["REQ", "my-dms", {"kinds": [4], "#p": ["aeae..."]}, {"kinds": [4],"authors": ["aeae"]}]` 3. Relay sends `["CHALLENGE", "supertactic"]` -4. Client sends `["EVENT", {"id": "...", "pubkey": "aeae", "sig": "...", "kind": 20001, "tags": [], "created_at": 1609470000, "content": "chat.relay.nostr.com challenge for my-dms: supertactic"}]` +4. Client sends `["EVENT", {"id": "...", "pubkey": "aeae...", "sig": "...", "kind": 20001, "tags": [], "created_at": 1609470000, "content": "chat.relay.nostr.com challenge for my-dms: supertactic"}]` 5. Relay sends `["EVENT", "my-dms", {"id": "...", "pubkey": "aeae", "kind": 4, "content": "", "sig": "...", "tags": ["p", "786b..."]}]` -5. Relay sends `["EVENT", "my-dms", {"id": "...", "pubkey": "786b", "kind": 4, "content": "", "sig": "...", "tags": ["p", "aeae..."]}]` +5. Relay sends `["EVENT", "my-dms", {"id": "...", "pubkey": "786b...", "kind": 4, "content": "", "sig": "...", "tags": ["p", "aeae..."]}]` Ids and signatures omitted and pubkeys shortened for readability.