remove bracket from kind attribute in example.

fixes https://github.com/nostr-protocol/nips/issues/735
This commit is contained in:
fiatjaf 2023-08-23 12:55:31 -03:00
parent 718dde2a43
commit c6b6eea96a
No known key found for this signature in database
GPG Key ID: BAD43C4BE5C1A3A1

2
57.md
View File

@ -78,7 +78,7 @@ const sats = 21
const amount = sats * 1000 const amount = sats * 1000
const relays = ['wss://nostr-pub.wellorder.net'] const relays = ['wss://nostr-pub.wellorder.net']
const event = encodeURI(JSON.stringify(await signEvent({ const event = encodeURI(JSON.stringify(await signEvent({
kind: [9734], kind: 9734,
content: "", content: "",
pubkey: senderPubkey, pubkey: senderPubkey,
created_at: Math.round(Date.now() / 1000), created_at: Math.round(Date.now() / 1000),