remove LNURL-p description_hash validation (#1951)
This commit is contained in:
parent
3260acbcc7
commit
d3d1010360
1 changed files with 0 additions and 11 deletions
|
|
@ -399,17 +399,6 @@ async def api_payments_pay_lnurl(
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
if invoice.description_hash != data.description_hash:
|
|
||||||
raise HTTPException(
|
|
||||||
status_code=HTTPStatus.BAD_REQUEST,
|
|
||||||
detail=(
|
|
||||||
(
|
|
||||||
f"{domain} returned an invalid invoice. Expected description_hash"
|
|
||||||
f" == {data.description_hash}, got {invoice.description_hash}."
|
|
||||||
),
|
|
||||||
),
|
|
||||||
)
|
|
||||||
|
|
||||||
extra = {}
|
extra = {}
|
||||||
|
|
||||||
if params.get("successAction"):
|
if params.get("successAction"):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue