mirror of
https://github.com/lnbits/lnbits.git
synced 2025-03-26 17:51:53 +01:00
fix flake8 F841 (local variable is assigned to but never used)
This commit is contained in:
parent
8a72585f00
commit
e05340269b
@ -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…
x
Reference in New Issue
Block a user