mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-03-10 17:26:15 +01:00
fix flake8 F841 (local variable is assigned to but never used)
This commit is contained in:
parent
8a72585f00
commit
e05340269b
2 changed files with 2 additions and 0 deletions
|
@ -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"
|
||||
|
|
|
@ -54,5 +54,6 @@ async def on_invoice_paid(payment: Payment) -> None:
|
|||
},
|
||||
timeout=40,
|
||||
)
|
||||
assert r
|
||||
except AssertionError:
|
||||
pass
|
||||
|
|
Loading…
Add table
Reference in a new issue