diff options
| author | P. Reis <patrickpereirareal1@gmail.com> | 2024-06-07 18:44:33 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-07 18:44:33 -0300 |
| commit | c30971ff0c79da57dd011df9906ae0a4ad487aca (patch) | |
| tree | a00efdb5ef27ca3344272de6d9963490958de4d8 /57.md | |
| parent | a7ed4e805fe7264ddf2bf2b69c0b8a763d0ba01b (diff) | |
NIP-57: Clarify description tag
Diffstat (limited to '57.md')
| -rw-r--r-- | 57.md | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -131,7 +131,7 @@ The following should be true of the `zap receipt` event: | |||
| 131 | - The `created_at` date SHOULD be set to the invoice `paid_at` date for idempotency. | 131 | - The `created_at` date SHOULD be set to the invoice `paid_at` date for idempotency. |
| 132 | - `tags` MUST include the `p` tag (zap recipient) AND optional `e` tag from the `zap request` AND optional `a` tag from the `zap request` AND optional `P` tag from the pubkey of the zap request (zap sender). | 132 | - `tags` MUST include the `p` tag (zap recipient) AND optional `e` tag from the `zap request` AND optional `a` tag from the `zap request` AND optional `P` tag from the pubkey of the zap request (zap sender). |
| 133 | - The `zap receipt` MUST have a `bolt11` tag containing the description hash bolt11 invoice. | 133 | - The `zap receipt` MUST have a `bolt11` tag containing the description hash bolt11 invoice. |
| 134 | - The `zap receipt` MUST contain a `description` tag which is the JSON-encoded invoice description. | 134 | - The `zap receipt` MUST contain a `description` tag which is the JSON-encoded zap request. |
| 135 | - `SHA256(description)` MUST match the description hash in the bolt11 invoice. | 135 | - `SHA256(description)` MUST match the description hash in the bolt11 invoice. |
| 136 | - The `zap receipt` MAY contain a `preimage` tag to match against the payment hash of the bolt11 invoice. This isn't really a payment proof, there is no real way to prove that the invoice is real or has been paid. You are trusting the author of the `zap receipt` for the legitimacy of the payment. | 136 | - The `zap receipt` MAY contain a `preimage` tag to match against the payment hash of the bolt11 invoice. This isn't really a payment proof, there is no real way to prove that the invoice is real or has been paid. You are trusting the author of the `zap receipt` for the legitimacy of the payment. |
| 137 | 137 | ||