This commit is contained in:
callebtc 2023-03-22 09:53:23 +01:00
commit f2615aa155
2 changed files with 4 additions and 15 deletions

View file

@ -103,11 +103,6 @@ async def on_invoice_paid(payment: Payment):
ws.send(zap_receipt.to_message())
ws.close()
from lnbits.core import bolt11
print(
f"Invoice description hash: {bolt11.decode(payment.bolt11).description_hash}"
)
ws = WebSocketApp(
f"ws://localhost:{settings.port}/nostrclient/api/v1/relay",
on_open=send_event,