diff options
| author | Mike Dilger <mike@ezicheq.com> | 2022-11-16 07:26:34 +1300 |
|---|---|---|
| committer | fiatjaf <fiatjaf@gmail.com> | 2022-11-15 17:36:13 -0300 |
| commit | c274c65856afb00c05796c87ed2b3f6ab4704f09 (patch) | |
| tree | 6e117cd2613d7a33453a1570c5b66969a692bacd /01.md | |
| parent | a0852a7cbeafdd9a00537dda8ece29fda9124de0 (diff) | |
Reword NIP-01 to clarify no line breaks. Existing language of "indentation" implies line breaks.
Diffstat (limited to '01.md')
| -rw-r--r-- | 01.md | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -30,7 +30,7 @@ The only object type that exists is the `event`, which has the following format | |||
| 30 | } | 30 | } |
| 31 | ``` | 31 | ``` |
| 32 | 32 | ||
| 33 | To obtain the `event.id`, we `sha256` the serialized event. The serialization is done over the UTF-8 JSON-serialized string (with no indentation or extra spaces) of the following structure: | 33 | To 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: |
| 34 | 34 | ||
| 35 | ```json | 35 | ```json |
| 36 | [ | 36 | [ |