mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-13 23:39:08 -05:00
Apply suggestions from code review
Co-authored-by: Semisol <45574030+Semisol@users.noreply.github.com>
This commit is contained in:
parent
2bae130c38
commit
980e1326e2
5
69.md
5
69.md
|
@ -45,12 +45,11 @@ A poll event:
|
|||
|
||||
## Zap vote format
|
||||
|
||||
Poll options are voted on by sending [zap events](57.md) (to the original poll event) which include 1 additional `poll_option` tag within their otherwise standard [json structure](57.md#the-zap-note).
|
||||
Poll options are voted on by sending [zap events](57.md) (to the original poll event) which include 1 additional `poll_option` tag in the zap request event.
|
||||
|
||||
Zap vote events (kind `9734` and `9735`):
|
||||
The zap request event (kind `9734`):
|
||||
* MUST include exactly 1 `poll_option` tag
|
||||
* MUST reference the vote option by its corresponding integer `n`, chosen from the original poll event's list of predefined `polling_options`
|
||||
* MUST transmit the exact `poll_option` between kind `9734` and `9735`
|
||||
|
||||
```json
|
||||
"tags": [
|
||||
|
|
Loading…
Reference in New Issue
Block a user