diff options
| author | Vitor Pamplona <vitor@vitorpamplona.com> | 2023-09-28 17:09:23 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-28 17:09:23 -0400 |
| commit | 7dc6385f1b9f185601c50f84df2e7e06933a71ce (patch) | |
| tree | 57c2b14dbf912b4ee2aa694236f39716ec41b9b9 /57.md | |
| parent | 149568f7ba767a2eb732ae308d2d539d5aeacdd0 (diff) | |
| parent | 423dda195b5251ffac5ec82c4129fe2f916c4d2b (diff) | |
Merge pull request #800 from huumn/master
update nip-57 zap receipt spec to include 'a' tag
Diffstat (limited to '57.md')
| -rw-r--r-- | 57.md | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -128,7 +128,7 @@ The following should be true of the `zap receipt` event: | |||
| 128 | 128 | ||
| 129 | - The `content` SHOULD be empty. | 129 | - The `content` SHOULD be empty. |
| 130 | - The `created_at` date SHOULD be set to the invoice `paid_at` date for idempotency. | 130 | - The `created_at` date SHOULD be set to the invoice `paid_at` date for idempotency. |
| 131 | - `tags` MUST include the `p` tag AND optional `e` tag from the `zap request`. | 131 | - `tags` MUST include the `p` tag AND optional `e` tag from the `zap request` AND optional `a` tag from the `zap request`. |
| 132 | - The `zap receipt` MUST have a `bolt11` tag containing the description hash bolt11 invoice. | 132 | - The `zap receipt` MUST have a `bolt11` tag containing the description hash bolt11 invoice. |
| 133 | - The `zap receipt` MUST contain a `description` tag which is the JSON-encoded invoice description. | 133 | - The `zap receipt` MUST contain a `description` tag which is the JSON-encoded invoice description. |
| 134 | - `SHA256(description)` MUST match the description hash in the bolt11 invoice. | 134 | - `SHA256(description)` MUST match the description hash in the bolt11 invoice. |