chore: add nip70 tag to signed events in meta.json
This commit is contained in:
parent
7df6ab8c84
commit
d5c45902b8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user