core already has default memo
This commit is contained in:
parent
19a50e3638
commit
167a32fed9
|
@ -69,10 +69,10 @@ async def lnurl_callback(
|
||||||
)
|
)
|
||||||
if len(comment) < 1:
|
if len(comment) < 1:
|
||||||
comment = "none"
|
comment = "none"
|
||||||
payment_hash, payment_request = await create_invoice(
|
_, payment_request = await create_invoice(
|
||||||
wallet_id=cp.wallet,
|
wallet_id=cp.wallet,
|
||||||
amount=int(amount_received / 1000),
|
amount=int(amount_received / 1000),
|
||||||
memo=cp.lnurl_title or "",
|
memo=cp.lnurl_title,
|
||||||
description_hash=hashlib.sha256(
|
description_hash=hashlib.sha256(
|
||||||
(
|
(
|
||||||
LnurlPayMetadata(json.dumps([["text/plain", str(cp.lnurl_title)]]))
|
LnurlPayMetadata(json.dumps([["text/plain", str(cp.lnurl_title)]]))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user