From d5c45902b8c7f6b36fec10f53d8638c9f24c6bdc Mon Sep 17 00:00:00 2001 From: daniyal Date: Wed, 10 Jul 2024 14:30:14 +0500 Subject: [PATCH] chore: add nip70 tag to signed events in meta.json --- src/utils/misc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/misc.ts b/src/utils/misc.ts index a3bb8ca..a368e06 100644 --- a/src/utils/misc.ts +++ b/src/utils/misc.ts @@ -79,7 +79,7 @@ export const signEventForMetaFile = async ( kind: 27235, // Event type for meta file content: content, // content for event created_at: Math.floor(Date.now() / 1000), // Current timestamp - tags: [] + tags: [['-']] // For understanding why "-" tag is used here see: https://github.com/nostr-protocol/nips/blob/protected-events-tag/70.md } // Sign the event