invoice without memo

This commit is contained in:
callebtc 2022-02-17 09:29:10 +01:00
parent cd84623305
commit d559c604fa

View File

@ -140,7 +140,7 @@ async def api_payments_create_invoice(data: CreateInvoiceData, wallet: Wallet):
memo = ""
else:
description_hash = b""
memo = data.memo
memo = data.memo if data.memo is not None else "LNbits"
if data.unit == "sat":
amount = int(data.amount)
else: