1
0
mirror of https://github.com/lightning/bolts.git synced 2024-11-19 10:00:04 +01:00

fixup! Specify that resolution of amount is msat

This commit is contained in:
Christian Decker 2020-01-21 14:01:04 +01:00
parent 798ff4bdec
commit 29f1386995

View File

@ -64,7 +64,7 @@ A writer:
- if a specific minimum `amount` is required for successful payment: - if a specific minimum `amount` is required for successful payment:
- MUST include that `amount`. - MUST include that `amount`.
- MUST encode `amount` as a positive decimal integer with no leading 0s. - MUST encode `amount` as a positive decimal integer with no leading 0s.
- If the is `p` multiplier is used the `amount` the last decimal MUST be `0`. - If the `p` multiplier is used the `amount` the last decimal MUST be `0`.
- SHOULD use the shortest representation possible, by using the largest - SHOULD use the shortest representation possible, by using the largest
multiplier or omitting the multiplier. multiplier or omitting the multiplier.