This commit is contained in:
Ben Arc
2021-04-16 21:04:48 +01:00
parent 95e6a8685d
commit ace8aa4127

View File

@@ -66,7 +66,7 @@ async def lnurl_callback(cp_id):
wallet_id=cp.wallet,
amount=int(amount_received / 1000),
memo=cp.lnurl_title,
webhook="/copilot/api/v1/copilot/hook/" + cp_id + "/" + int(amount_received / 1000),
webhook="/copilot/api/v1/copilot/hook/" + cp_id + "/" + amount_received,
description_hash=hashlib.sha256((cp.lnurl_title).encode("utf-8")).digest(),
extra={"tag": "copilot", "comment": comment},
)