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>2022-06-09 15:29:46 -0300
committerfiatjaf <fiatjaf@gmail.com>2022-06-09 15:40:13 -0300
commit4d19ef128e9e1bacc7ea102dd314afd41e20fc69 (patch)
treed543e4dd72cdc28998421965dad812092b3d2390 /01.md
parentf367d820d48b79f42770496087f79b0d60691ebd (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.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/01.md b/01.md
index 8bf7fc3..3fd1cdc 100644
--- a/01.md
+++ b/01.md
@@ -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```