remove lnaddress (#1525)

* remove lnaddress
This commit is contained in:
dni ⚡ 2023-02-20 09:08:23 +01:00 committed by GitHub
parent 823956395b
commit 4211998959
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 0 additions and 2052 deletions

View file

@ -24,13 +24,3 @@ async def test_api_public_payment_longpolling_wrong_hash(client, invoice):
)
assert response.status_code == 404
assert response.json()["detail"] == "Payment does not exist."
# check GET /.well-known/lnurlp/{username}: wrong username [should fail]
@pytest.mark.asyncio
async def test_lnaddress_wrong_hash(client):
username = "wrong_name"
response = await client.get(f"/.well-known/lnurlp/{username}")
assert response.status_code == 200
assert response.json()["status"] == "ERROR"
assert response.json()["reason"] == "Address not found."