diff options
| author | fiatjaf <fiatjaf@gmail.com> | 2022-06-09 15:29:46 -0300 |
|---|---|---|
| committer | fiatjaf <fiatjaf@gmail.com> | 2022-06-09 15:40:13 -0300 |
| commit | 4d19ef128e9e1bacc7ea102dd314afd41e20fc69 (patch) | |
| tree | d543e4dd72cdc28998421965dad812092b3d2390 /01.md | |
| parent | f367d820d48b79f42770496087f79b0d60691ebd (diff) | |
update nip-02 to disallow `null`, only allow strings in tags.
fixes https://github.com/nostr-protocol/nips/pull/15
fixes https://github.com/fiatjaf/nostr-army-knife/issues/2
fixes https://github.com/fiatjaf/relayer/issues/3
Diffstat (limited to '01.md')
| -rw-r--r-- | 01.md | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -38,7 +38,7 @@ To obtain the `event.id`, we `sha256` the serialized event. The serialization is | |||
| 38 | <pubkey, as a (lowercase) hex string>, | 38 | <pubkey, as a (lowercase) hex string>, |
| 39 | <created_at, as a number>, | 39 | <created_at, as a number>, |
| 40 | <kind, as a number>, | 40 | <kind, as a number>, |
| 41 | <tags, as an array of arrays of strings>, | 41 | <tags, as an array of arrays of non-null strings>, |
| 42 | <content, as a string> | 42 | <content, as a string> |
| 43 | ] | 43 | ] |
| 44 | ``` | 44 | ``` |