bitches
This commit is contained in:
parent
3c6c3b26fe
commit
8283254865
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ async def lnurl_callback(cp_id):
|
|||
amount=int(amount_received / 1000),
|
||||
memo=cp.lnurl_title,
|
||||
webhook="/copilot/api/v1/copilot/hook/" + cp_id + "/" + str(amount_received),
|
||||
description_hash=hashlib.sha256((str(cp.lnurl_title)).encode("utf-8")).digest(),
|
||||
description_hash=hashlib.sha256((LnurlPayMetadata(json.dumps([["text/plain", str(cp.lnurl_title)]]))).encode("utf-8")).digest(),
|
||||
extra={"tag": "copilot", "comment": comment},
|
||||
)
|
||||
resp = LnurlPayActionResponse(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue