1
0

email plugin: (trivial) adapt to Invoices refactor

This commit is contained in:
SomberNight
2022-05-23 18:53:19 +02:00
parent 98feff07ad
commit 7e77a7e1cc
2 changed files with 5 additions and 7 deletions

View File

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