core-lightning/contrib/pylightning/lightning
Michael Schmoock 1e0aa9329d fix: pylightning to_btc_str precision
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
2019-05-08 18:18:19 -05:00
..
__init__.py pylightning: allow version querying from within modules. 2019-03-05 11:43:22 +01:00
lightning.py fix: pylightning to_btc_str precision 2019-05-08 18:18:19 -05:00
plugin.py pylightning: make sure UTF-8 gets passed intact. 2019-03-05 11:43:22 +01:00