handle empty lnurl-withdraws to redeem.

This commit is contained in:
fiatjaf
2021-04-21 23:22:29 -03:00
parent 232de067a4
commit 2aa4a93da1

View File

@@ -186,6 +186,9 @@ async def redeem_lnurl_withdraw(
wait_seconds: int = 0,
conn: Optional[Connection] = None,
) -> None:
if not lnurl_request:
return None
res = {}
async with httpx.AsyncClient() as client: