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
@@ -90,7 +90,7 @@ async def lnurl_callback(
wallet_id=ls.wallet,
amount=int(amount_received / 1000),
memo=await track.fullname(),
description_hash=(await track.lnurlpay_metadata()).encode("utf-8"),
unhashed_description=(await track.lnurlpay_metadata()).encode("utf-8"),
extra={"tag": "livestream", "track": track.id, "comment": comment},
)