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
@@ -73,7 +73,7 @@ async def lnurl_callback(
wallet_id=cp.wallet,
amount=int(amount_received / 1000),
memo=cp.lnurl_title,
description_hash=(
unhashed_description=(
LnurlPayMetadata(json.dumps([["text/plain", str(cp.lnurl_title)]]))
).encode("utf-8"),
extra={"tag": "copilot", "copilotid": cp.id, "comment": comment},