fix lnurlw balance_check (#854)

This commit is contained in:
calle 2022-08-09 12:48:10 +02:00 committed by GitHub
parent 4fc0a25d41
commit 05edd908f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -186,11 +186,6 @@ async def api_payments_create_invoice(data: CreateInvoiceData, wallet: Wallet):
if data.lnurl_callback:
if data.lnurl_balance_check is not None:
await save_balance_check(wallet.id, data.lnurl_balance_check)
else:
raise HTTPException(
status_code=HTTPStatus.BAD_REQUEST,
detail="lnurl_balance_check not set.",
)
async with httpx.AsyncClient() as client:
try: