1
0

LN invoices: support msat precision

fixes #6250
This commit is contained in:
SomberNight
2020-06-22 22:37:58 +02:00
parent 599797c966
commit d5f368c584
19 changed files with 260 additions and 135 deletions

View File

@@ -136,7 +136,7 @@ class RevokeAndAck(NamedTuple):
class RemoteCtnTooFarInFuture(Exception): pass
def htlcsum(htlcs):
def htlcsum(htlcs: Iterable[UpdateAddHtlc]):
return sum([x.amount_msat for x in htlcs])