Files
lightning/common
Christian Decker 8370a627bb invoice: Parse amounts without a multiplier as BTC not msats
The spec states that invoices with an amount, but lacking a multiplier, should
be interpreted as integer Bitcoin amounts:

   `amount`: optional number in that currency, followed by an optional
   `multiplier` letter. The unit encoded here is the 'social' convention of a
   payment unit -- in the case of Bitcoin the unit is 'bitcoin' NOT satoshis.

Suggested-by: Stefano Pellegrini <@St333p>
Signed-off-by: Christian Decker <@cdecker>
Changelog-Fixed: invoice: The invoice parser assumed that an amount without a multiplier was denominated in msatoshi instead of bitcoins.
2020-04-11 08:43:06 +09:30
..
2020-04-04 16:08:49 +10:30
2020-02-05 14:19:12 +01:00
2018-11-02 05:58:01 +00:00
2020-04-04 16:08:49 +10:30
2020-04-04 16:08:49 +10:30
2019-11-23 22:42:34 +00:00
2020-02-05 14:19:12 +01:00
2020-04-04 16:08:49 +10:30
2020-04-04 16:08:49 +10:30
2020-04-04 16:08:49 +10:30
2020-01-31 06:02:47 +00:00
2020-03-31 13:36:02 +02:00
2020-02-05 14:19:12 +01:00
2020-02-05 14:19:12 +01:00
2018-02-08 22:49:34 +01:00
2020-02-05 14:19:12 +01:00
2020-02-27 09:07:04 +10:30
2020-02-05 14:19:12 +01:00
2020-02-27 14:16:16 +10:30
2019-04-09 12:37:16 -07:00
2019-04-09 12:37:16 -07:00
2020-01-23 16:17:42 +10:30
2020-02-27 14:16:16 +10:30
2020-02-05 14:19:12 +01:00
2020-02-05 14:19:12 +01:00
2019-04-16 21:22:13 +00:00
2019-04-16 21:22:13 +00:00
2020-03-25 14:26:28 +10:30
2020-03-25 14:26:28 +10:30
2020-02-27 14:16:16 +10:30
2020-02-27 14:16:16 +10:30
2018-06-18 12:31:09 +02:00
2020-02-05 14:19:12 +01:00