mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-03 20:44:54 +01:00
8370a627bb
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. |
||
---|---|---|
.. | ||
data | ||
plugins | ||
vectors | ||
benchmark.py | ||
conftest.py | ||
db.py | ||
fixtures.py | ||
test_closing.py | ||
test_connection.py | ||
test_db.py | ||
test_gossip.py | ||
test_invoices.py | ||
test_misc.py | ||
test_onion.py | ||
test_pay.py | ||
test_plugin.py | ||
test_wallet.py | ||
utils.py |