upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiatjaf <fiatjaf@gmail.com>2023-08-23 12:55:31 -0300
committerfiatjaf <fiatjaf@gmail.com>2023-08-23 12:55:32 -0300
commitc6b6eea96a85aa6c9b5ce579685214fea3de0282 (patch)
tree2a9963641846dea704d50b47b8066ecad81c2f32
parent718dde2a43e319646c773dd9f4e98d18137fdabf (diff)
remove bracket from kind attribute in example.
fixes https://github.com/nostr-protocol/nips/issues/735
-rw-r--r--57.md2
1 files changed, 1 insertions, 1 deletions
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
78const amount = sats * 1000 78const amount = sats * 1000
79const relays = ['wss://nostr-pub.wellorder.net'] 79const relays = ['wss://nostr-pub.wellorder.net']
80const event = encodeURI(JSON.stringify(await signEvent({ 80const event = encodeURI(JSON.stringify(await signEvent({
81 kind: [9734], 81 kind: 9734,
82 content: "", 82 content: "",
83 pubkey: senderPubkey, 83 pubkey: senderPubkey,
84 created_at: Math.round(Date.now() / 1000), 84 created_at: Math.round(Date.now() / 1000),