core-lightning/contrib/pylightning/lightning
Gálli Zoltán 7f8e4de522 pylightning: millisatoshis type is int
Millisatoshi's inner representation expected to be an int, otherwise unwanted exceptions could occur
The following example raises: TypeError: __int__ returned non-int (type decimal.Decimal)

from lightning import Millisatoshi
one_sat = Millisatoshi("1sat")
two_sats = one_sat * 2
2019-04-17 07:12:43 +00:00
..
__init__.py pylightning: allow version querying from within modules. 2019-03-05 11:43:22 +01:00
lightning.py pylightning: millisatoshis type is int 2019-04-17 07:12:43 +00:00
plugin.py pylightning: make sure UTF-8 gets passed intact. 2019-03-05 11:43:22 +01:00