Skip to content

Commit

Permalink
fix: wording
Browse files Browse the repository at this point in the history
  • Loading branch information
thesimplekid committed Nov 4, 2024
1 parent 513dfb0 commit 4181410
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion 05.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ The wallet `Alice` includes the following `PostMeltQuoteBolt11Request` data in i
}
```

Here, `request` is the bolt11 Lightning invoice to be paid and `unit` is the unit the wallet would like to pay with. `amount` is an integer or null, representing the amount to be paid. If the invoice already defines an amount, the amount in the PostMeltQuoteBolt11Request **MUST** match the amount in the invoice exactly. The request may only be in amountless invoice if support for amountless invoices is signaled in the `MeltMethodSettings`.

Here, `request` is the bolt11 Lightning invoice to be paid and `unit` is the unit the wallet would like to pay with. `amount` **MAY** be passed to pay amountless bolt11 invoices. For bolt11 invoices with an amount, the `amount` field **MUST** be equal to the amount of the bolt11 invoice if included. The request **MAY** be an amountless invoice only if support for amountless invoices is signaled in the `MeltMethodSettings`.


The mint `Bob` then responds with a `PostMeltQuoteBolt11Response`:

Expand Down

0 comments on commit 4181410

Please sign in to comment.