handle empty lnurl-withdraws to redeem.
This commit is contained in:
parent
232de067a4
commit
2aa4a93da1
1 changed files with 3 additions and 0 deletions
|
|
@ -186,6 +186,9 @@ async def redeem_lnurl_withdraw(
|
||||||
wait_seconds: int = 0,
|
wait_seconds: int = 0,
|
||||||
conn: Optional[Connection] = None,
|
conn: Optional[Connection] = None,
|
||||||
) -> None:
|
) -> None:
|
||||||
|
if not lnurl_request:
|
||||||
|
return None
|
||||||
|
|
||||||
res = {}
|
res = {}
|
||||||
|
|
||||||
async with httpx.AsyncClient() as client:
|
async with httpx.AsyncClient() as client:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue