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

@@ -326,7 +326,7 @@ def make_unsigned_request(req: 'OnchainInvoice'):
time = 0
if exp and type(exp) != int:
exp = 0
amount = req.amount
amount = req.amount_sat
if amount is None:
amount = 0
memo = req.message