1
0
Fork 0
mirror of https://github.com/lightning/bolts.git synced 2025-02-22 14:22:46 +01:00

Fix bad wording of amount requirement in Bolt11 (#733)

This commit is contained in:
Thorkil Værge 2020-01-31 09:23:15 +01:00 committed by GitHub
parent 17df7f2bba
commit 0bb69d3a37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,7 +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.
- If the `p` multiplier is used the `amount` the last decimal MUST be `0`.
- If the `p` multiplier is used the last decimal of `amount` MUST be `0`.
- SHOULD use the shortest representation possible, by using the largest
multiplier or omitting the multiplier.