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:
@@ -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},
|
||||
|
||||
Reference in New Issue
Block a user