raw link
This commit is contained in:
parent
4a15dfc667
commit
c469bcff27
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ async def lnurl_callback(cp_id):
|
||||||
wallet_id=cp.wallet,
|
wallet_id=cp.wallet,
|
||||||
amount=int(amount_received / 1000),
|
amount=int(amount_received / 1000),
|
||||||
memo=cp.lnurl_title,
|
memo=cp.lnurl_title,
|
||||||
webhook=url_for("copilot.api_copilot_hooker", copilot_id=cp_id, amount=int(amount_received / 1000), _external=True),
|
webhook="/copilot/api/v1/copilot/hook/" + copilot_id + "/" + int(amount_received / 1000),
|
||||||
description_hash=hashlib.sha256((cp.lnurl_title).encode("utf-8")).digest(),
|
description_hash=hashlib.sha256((cp.lnurl_title).encode("utf-8")).digest(),
|
||||||
extra={"tag": "copilot", "comment": comment},
|
extra={"tag": "copilot", "comment": comment},
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue