fix flake8 F841 (local variable is assigned to but never used)

This commit is contained in:
Pavol Rusnak
2023-01-30 11:46:45 +00:00
parent 8a72585f00
commit e05340269b
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -46,6 +46,7 @@ async def create_pay_link(data: CreatePayLinkData, wallet_id: str) -> PayLink:
data.fiat_base_multiplier,
),
)
assert result
link = await get_pay_link(link_id)
assert link, "Newly created link couldn't be retrieved"
+1
View File
@@ -54,5 +54,6 @@ async def on_invoice_paid(payment: Payment) -> None:
},
timeout=40,
)
assert r
except AssertionError:
pass