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