From c6b6eea96a85aa6c9b5ce579685214fea3de0282 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Wed, 23 Aug 2023 12:55:31 -0300 Subject: [PATCH] remove bracket from kind attribute in example. fixes https://github.com/nostr-protocol/nips/issues/735 --- 57.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/57.md b/57.md index ace4a03..729d585 100644 --- a/57.md +++ b/57.md @@ -78,7 +78,7 @@ const sats = 21 const amount = sats * 1000 const relays = ['wss://nostr-pub.wellorder.net'] const event = encodeURI(JSON.stringify(await signEvent({ - kind: [9734], + kind: 9734, content: "", pubkey: senderPubkey, created_at: Math.round(Date.now() / 1000),