diff options
| author | Keyan <34140557+huumn@users.noreply.github.com> | 2023-09-28 15:43:03 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-28 15:43:03 -0500 |
| commit | 423dda195b5251ffac5ec82c4129fe2f916c4d2b (patch) | |
| tree | abda341eb0b0877dd19d28ee0214330df713b46e | |
| parent | 84f1915cecc10cfca6584eacfbeecb35bddc65f9 (diff) | |
update nip-57 zap receipt spec to include 'a' tag
| -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. |