handle empty lnurl-withdraws to redeem.
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user