upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiatjaf <fiatjaf@gmail.com>2022-07-21 06:38:42 -0300
committerWilliam Casarin <jb55@jb55.com>2022-08-03 12:56:51 -0700
commit3962150f3f00f6e7669e582529e2cac3ceace10d (patch)
tree102cf1f657484550792d791fc94fff4291ec17cc
parent3ba244685969fe57f685cd29583bc6bacca34bd9 (diff)
fix missing ellipsis in pubkey in filter example.
-rw-r--r--21.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/21.md b/21.md
index 10b98a9..e160706 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
19### Example 19### Example
20 20
211. Client connects to `wss://chat.relay.nostr.com/` 211. Client connects to `wss://chat.relay.nostr.com/`
222. Client sends `["REQ", "my-dms", {"kinds": [4], "#p": ["aeae"]}, {"kinds": [4],"authors": ["aeae"]}]` 222. Client sends `["REQ", "my-dms", {"kinds": [4], "#p": ["aeae..."]}, {"kinds": [4],"authors": ["aeae"]}]`
233. Relay sends `["CHALLENGE", "supertactic"]` 233. Relay sends `["CHALLENGE", "supertactic"]`
244. Client sends `["EVENT", {"id": "...", "pubkey": "aeae", "sig": "...", "kind": 20001, "tags": [], "created_at": 1609470000, "content": "chat.relay.nostr.com challenge for my-dms: supertactic"}]` 244. Client sends `["EVENT", {"id": "...", "pubkey": "aeae...", "sig": "...", "kind": 20001, "tags": [], "created_at": 1609470000, "content": "chat.relay.nostr.com challenge for my-dms: supertactic"}]`
255. Relay sends `["EVENT", "my-dms", {"id": "...", "pubkey": "aeae", "kind": 4, "content": "<encrypted>", "sig": "...", "tags": ["p", "786b..."]}]` 255. Relay sends `["EVENT", "my-dms", {"id": "...", "pubkey": "aeae", "kind": 4, "content": "<encrypted>", "sig": "...", "tags": ["p", "786b..."]}]`
265. Relay sends `["EVENT", "my-dms", {"id": "...", "pubkey": "786b", "kind": 4, "content": "<encrypted>", "sig": "...", "tags": ["p", "aeae..."]}]` 265. Relay sends `["EVENT", "my-dms", {"id": "...", "pubkey": "786b...", "kind": 4, "content": "<encrypted>", "sig": "...", "tags": ["p", "aeae..."]}]`
27 27
28Ids and signatures omitted and pubkeys shortened for readability. 28Ids and signatures omitted and pubkeys shortened for readability.
29 29