Skip to content

Commit

Permalink
fix: address amount defined in invoice and request
Browse files Browse the repository at this point in the history
  • Loading branch information
thesimplekid committed Oct 10, 2024
1 parent e38d087 commit b5b3584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 05.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ 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 the amount to be paid if the invoice does not have a defined amount.
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 mint `Bob` then responds with a `PostMeltQuoteBolt11Response`:

Expand Down

0 comments on commit b5b3584

Please sign in to comment.