lnurlp: store description as memo.
This commit is contained in:
parent
3645e0ac38
commit
96b80fb3fc
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue