From 96b80fb3fc110e732ae2c72656a9c87a7f9ba0e8 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Sat, 29 Aug 2020 13:11:19 -0300 Subject: [PATCH] lnurlp: store description as memo. --- lnbits/extensions/lnurlp/views_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnbits/extensions/lnurlp/views_api.py b/lnbits/extensions/lnurlp/views_api.py index 7f2558b..e62ddd7 100644 --- a/lnbits/extensions/lnurlp/views_api.py +++ b/lnbits/extensions/lnurlp/views_api.py @@ -121,7 +121,7 @@ def api_lnurl_callback(link_id): _, payment_request = create_invoice( wallet_id=link.wallet, amount=link.amount, - memo=None, + memo=link.description, description_hash=hashlib.sha256(link.lnurlpay_metadata.encode("utf-8")).digest(), ) resp = LnurlPayActionResponse(pr=payment_request, success_action=None, routes=[])