diff options
| author | fiatjaf <fiatjaf@gmail.com> | 2023-08-23 12:55:31 -0300 |
|---|---|---|
| committer | fiatjaf <fiatjaf@gmail.com> | 2023-08-23 12:55:32 -0300 |
| commit | c6b6eea96a85aa6c9b5ce579685214fea3de0282 (patch) | |
| tree | 2a9963641846dea704d50b47b8066ecad81c2f32 | |
| parent | 718dde2a43e319646c773dd9f4e98d18137fdabf (diff) | |
remove bracket from kind attribute in example.
fixes https://github.com/nostr-protocol/nips/issues/735
| -rw-r--r-- | 57.md | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -78,7 +78,7 @@ const sats = 21 | |||
| 78 | const amount = sats * 1000 | 78 | const amount = sats * 1000 |
| 79 | const relays = ['wss://nostr-pub.wellorder.net'] | 79 | const relays = ['wss://nostr-pub.wellorder.net'] |
| 80 | const event = encodeURI(JSON.stringify(await signEvent({ | 80 | const 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), |