unbreak lnurlp
This commit is contained in:
parent
fa3cb87ba0
commit
6fb0a47ad4
1 changed files with 3 additions and 1 deletions
4
lnurl.py
4
lnurl.py
|
|
@ -88,7 +88,9 @@ async def api_lnurl_callback(
|
||||||
wallet_id=link.wallet,
|
wallet_id=link.wallet,
|
||||||
amount=int(amount_received / 1000),
|
amount=int(amount_received / 1000),
|
||||||
memo=link.description,
|
memo=link.description,
|
||||||
unhashed_description=nostr.encode() or link.lnurlpay_metadata.encode(),
|
unhashed_description=nostr.encode()
|
||||||
|
if nostr
|
||||||
|
else link.lnurlpay_metadata.encode(),
|
||||||
extra=extra,
|
extra=extra,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue