From 41814104c801b639d6ef255242fa77bf624ecafc Mon Sep 17 00:00:00 2001 From: thesimplekid Date: Mon, 4 Nov 2024 22:27:36 +0000 Subject: [PATCH] fix: wording --- 05.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/05.md b/05.md index 4a31cc20..c3fedac4 100644 --- a/05.md +++ b/05.md @@ -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`: