mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-19 12:01:12 +02:00
debugging
This commit is contained in:
@@ -42,13 +42,14 @@ async def lnurl_response(username: str, domain: str, request: Request):
|
|||||||
async def lnurl_callback(address_id, amount: int = Query(...)):
|
async def lnurl_callback(address_id, amount: int = Query(...)):
|
||||||
print("PING")
|
print("PING")
|
||||||
address = await get_address(address_id)
|
address = await get_address(address_id)
|
||||||
|
|
||||||
if not address:
|
if not address:
|
||||||
return LnurlErrorResponse(reason=f"Address not found").dict()
|
return LnurlErrorResponse(reason=f"Address not found").dict()
|
||||||
|
|
||||||
amount_received = amount
|
amount_received = amount
|
||||||
|
|
||||||
domain = await get_domain(address.domain)
|
domain = await get_domain(address.domain)
|
||||||
|
print("ADR", address)
|
||||||
|
print("DOM", domain)
|
||||||
|
|
||||||
base_url = (
|
base_url = (
|
||||||
address.wallet_endpoint[:-1]
|
address.wallet_endpoint[:-1]
|
||||||
|
Reference in New Issue
Block a user