upleb.uk

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

summaryrefslogtreecommitdiff
path: root/01.md
diff options
context:
space:
mode:
authorfiatjaf <fiatjaf@gmail.com>2023-11-02 19:46:35 -0300
committerfiatjaf <fiatjaf@gmail.com>2023-11-02 19:46:37 -0300
commitb14b9d2120ea7fd287eb44249ce5910df7ad45d2 (patch)
tree460054b19280b595019633a64fec2dcd046d87a3 /01.md
parentcee69773473a9f6fed2cd7a150d70e77837a42b4 (diff)
nip-01: clarify that whitespace is allowed inside the strings.
closes https://github.com/nostr-protocol/nips/pull/861
Diffstat (limited to '01.md')
-rw-r--r--01.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/01.md b/01.md
index 2b28f23..183e0ba 100644
--- a/01.md
+++ b/01.md
@@ -29,9 +29,9 @@ The only object type that exists is the `event`, which has the following format
29} 29}
30``` 30```
31 31
32To obtain the `event.id`, we `sha256` the serialized event. The serialization is done over the UTF-8 JSON-serialized string (with no white space or line breaks) of the following structure: 32To obtain the `event.id`, we `sha256` the serialized event. The serialization is done over the UTF-8 JSON-serialized string (with no white space or line breaks between the fields) of the following structure:
33 33
34```json 34```
35[ 35[
36 0, 36 0,
37 <pubkey, as a lowercase hex string>, 37 <pubkey, as a lowercase hex string>,