mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-07-29 08:18:28 -04:00
remove bracket from kind attribute in example.
fixes https://github.com/nostr-protocol/nips/issues/735
This commit is contained in:
2
57.md
2
57.md
@@ -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),
|
||||||
|
Reference in New Issue
Block a user