specify lowercase on nip01 event hex fields.

This commit is contained in:
fiatjaf 2023-01-21 07:36:44 -03:00
parent 8b18e7818e
commit 69685588f0
No known key found for this signature in database
GPG Key ID: BAD43C4BE5C1A3A1

4
01.md
View File

@ -16,8 +16,8 @@ The only object type that exists is the `event`, which has the following format
```json
{
"id": <32-bytes sha256 of the the serialized event data>
"pubkey": <32-bytes hex-encoded public key of the event creator>,
"id": <32-bytes lowercase hex-encoded sha256 of the the serialized event data>
"pubkey": <32-bytes lowercase hex-encoded public key of the event creator>,
"created_at": <unix timestamp in seconds>,
"kind": <integer>,
"tags": [