some mypy

This commit is contained in:
ben 2022-08-01 09:41:03 +01:00
parent 17cd1dec47
commit 0d4ccad6d7

View file

@ -75,7 +75,6 @@ class ClicheWallet(Wallet):
return InvoiceResponse(True, checking_id, payment_request, error_message) return InvoiceResponse(True, checking_id, payment_request, error_message)
async def pay_invoice(self, bolt11: str, fee_limit_msat: int) -> PaymentResponse: async def pay_invoice(self, bolt11: str, fee_limit_msat: int) -> PaymentResponse:
ws = create_connection(self.endpoint) ws = create_connection(self.endpoint)
ws.send(f"pay-invoice --invoice {bolt11}") ws.send(f"pay-invoice --invoice {bolt11}")
r = ws.recv() r = ws.recv()