specify that hex strings must be lowercase for hashing.

pull/40/head
fiatjaf 2021-12-12 19:45:28 -03:00
rodzic 97786e3142
commit 3674994f1d
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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