Lnurlp: use unhashed_description instead of description_hash (#878)

* dont assume field

* pass unhashed_description instead of description_hash for LNURL stuff

* more
This commit is contained in:
calle
2022-08-14 21:59:36 +02:00
committed by GitHub
parent 3df66334db
commit 0f760bf39e
7 changed files with 10 additions and 8 deletions
+1 -1
View File
@@ -205,7 +205,7 @@ async def lnurl_callback(
wallet_id=device.wallet,
amount=lnurldevicepayment.sats / 1000,
memo=device.title,
description_hash=(await device.lnurlpay_metadata()).encode("utf-8"),
unhashed_description=(await device.lnurlpay_metadata()).encode("utf-8"),
extra={"tag": "PoS"},
)
lnurldevicepayment = await update_lnurldevicepayment(