escape
This commit is contained in:
parent
50f9b505cd
commit
b66588d7c9
2 changed files with 2 additions and 2 deletions
2
lnurl.py
2
lnurl.py
|
|
@ -83,7 +83,7 @@ async def api_lnurl_callback(
|
||||||
if nostr:
|
if nostr:
|
||||||
extra["nostr"] = nostr
|
extra["nostr"] = nostr
|
||||||
# print("HASHING THIS")
|
# print("HASHING THIS")
|
||||||
nostr_description = json.dumps(nostr)[1:-1] # remove leading and trailing "
|
nostr_description = nostr # json.dumps(nostr)[1:-1] # json.dumps supposedly makes escaped "-s, remove leading and trailing "
|
||||||
# print(nostr_description)
|
# print(nostr_description)
|
||||||
import hashlib
|
import hashlib
|
||||||
|
|
||||||
|
|
|
||||||
2
tasks.py
2
tasks.py
|
|
@ -99,7 +99,7 @@ async def on_invoice_paid(payment: Payment):
|
||||||
private_key.sign_event(zap_receipt)
|
private_key.sign_event(zap_receipt)
|
||||||
|
|
||||||
def send_event(_):
|
def send_event(_):
|
||||||
# logger.debug(f"Sending zap: {zap_receipt.to_message()}")
|
logger.debug(f"Sending zap: {zap_receipt.to_message()}")
|
||||||
ws.send(zap_receipt.to_message())
|
ws.send(zap_receipt.to_message())
|
||||||
ws.close()
|
ws.close()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue