some mypy
This commit is contained in:
parent
17cd1dec47
commit
0d4ccad6d7
1 changed files with 4 additions and 5 deletions
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue