upleb.uk

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

summaryrefslogtreecommitdiff
path: root/57.md
diff options
context:
space:
mode:
authorKeyan <34140557+huumn@users.noreply.github.com>2023-09-28 15:43:03 -0500
committerGitHub <noreply@github.com>2023-09-28 15:43:03 -0500
commit423dda195b5251ffac5ec82c4129fe2f916c4d2b (patch)
treeabda341eb0b0877dd19d28ee0214330df713b46e /57.md
parent84f1915cecc10cfca6584eacfbeecb35bddc65f9 (diff)
update nip-57 zap receipt spec to include 'a' tag
Diffstat (limited to '57.md')
-rw-r--r--57.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/57.md b/57.md
index 729d585..8e2be1b 100644
--- a/57.md
+++ b/57.md
@@ -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.