From 3ba8526756bd06d7a0744d66ccccdb5fd746859b Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Thu, 20 Jun 2024 14:35:45 -0400 Subject: [PATCH] Fixing kind numbers --- 81.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/81.md b/81.md index 74495f58..8f8679e9 100644 --- a/81.md +++ b/81.md @@ -6,7 +6,7 @@ Relationship Status `draft` `optional` -This NIP defines two new event kinds (`30382` and `30383`) to document the relationship between two keys. +This NIP defines two new event kinds (`30382` and `31382`) to document the relationship between two keys. Both kinds offer public and private tags to describe that relationship. Private tags are JSON Stringified, [NIP-44](44.md)-encrypted to the signer's keys and placed inside the `.content` of the event. @@ -55,11 +55,11 @@ For private cases, a new event kind named "Event Set Names" (`kind:10008`) uses ### Private Relationship Status -For relationships that must remain private (e.g private follows, client lists, etc), the event kind `31383` uses a similar structure but with a hashed `d` tag using [NIP-44](44.md)'s `hkdf` function. +For relationships that must remain private (e.g private follows, client lists, etc), the event kind `31382` uses a similar structure but with a hashed `d` tag using [NIP-44](44.md)'s `hkdf` function. ```js { - "kind": 31383, + "kind": 31382, "tags": [ ["d", sha256(hkdf(private_key, salt: 'nip81') || "")], ["n", "6064460175057025"],