Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: pylightning msat round multiply and division
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.
- Loading branch information