mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-12-29 10:04:41 +01:00
1e0aa9329d
The old codes if % 1000 statement logic was simply inverted and produced the opposite output of the intention behin it. Before Fix: - Millisatoshi('42sat').to_btc_str() => 0.00000042000btc - Millisatoshi('42001msat').to_btc_str() => 0.00000042btc After Fix: - Millisatoshi('42sat').to_btc_str() => 0.00000042btc - Millisatoshi('42001msat').to_btc_str() => 0.00000042001btc |
||
---|---|---|
.. | ||
__init__.py | ||
lightning.py | ||
plugin.py |