Browse Source
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.travis-debug
Christian Decker
5 years ago
committed by
Rusty Russell
2 changed files with 13 additions and 1 deletions
Loading…
Reference in new issue