fix pylint W0612 (unused-variable)

This commit is contained in:
Pavol Rusnak
2023-01-30 11:46:43 +00:00
parent 32f4c8aa17
commit d29fcca6aa
5 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -184,7 +184,7 @@ async def api_payments_create_invoice(data: CreateInvoiceData, wallet: Wallet):
async with db.connect() as conn:
try:
payment_hash, payment_request = await create_invoice(
_, payment_request = await create_invoice(
wallet_id=wallet.id,
amount=amount,
memo=memo,