mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-21 08:04:26 +01:00
Currently, when a multiplication operator is invoked that does not result in an even integer result but a floating result, the pylightning code will raise an exception: Millisatoshi must be string with msat/sat/btc suffix or int This is because the internal float result will be used as contructor argument like this: return Millisatoshi(10000.5) This happens especially on fee calculations where small uneven amounts are calculated.