some mypy
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user