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
This commit is contained in:
fiatjaf 2022-06-09 15:29:46 -03:00
parent f367d820d4
commit 4d19ef128e
2 changed files with 5 additions and 5 deletions

2
01.md
View file

@ -38,7 +38,7 @@ To obtain the `event.id`, we `sha256` the serialized event. The serialization is
<pubkey, as a (lowercase) hex string>,
<created_at, as a number>,
<kind, as a number>,
<tags, as an array of arrays of strings>,
<tags, as an array of arrays of non-null strings>,
<content, as a string>
]
```