mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-01-19 05:33:47 +01:00
lnurlp: store description as memo.
This commit is contained in:
parent
3645e0ac38
commit
96b80fb3fc
@ -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=[])
|
||||
|
Loading…
Reference in New Issue
Block a user