mirror of
https://github.com/lightning/bolts.git
synced 2025-01-19 05:33:37 +01:00
Specify that resolution of amount is msat
When the `p` multiplier is used, the amount MUST be divisible by 10 since the resolution used internally is millisatoshi. This addresses but does not close #692.
This commit is contained in:
parent
35f6376f20
commit
a5b3818204
@ -64,6 +64,7 @@ A writer:
|
||||
- if a specific minimum `amount` is required for successful payment:
|
||||
- MUST include that `amount`.
|
||||
- MUST encode `amount` as a positive decimal integer with no leading 0s.
|
||||
- MUST request `amount` divisible by ten if the `p` multiplier is used.
|
||||
- SHOULD use the shortest representation possible, by using the largest
|
||||
multiplier or omitting the multiplier.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user