Browse Source
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.htlc_accepted_hook
Michael Schmoock
6 years ago
committed by
Christian Decker
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue