black formating
This commit is contained in:
@@ -8,7 +8,8 @@ from typing import AsyncGenerator, Dict, Optional
|
||||
import httpx
|
||||
from loguru import logger
|
||||
|
||||
from websockets import connect # type: ignore
|
||||
from websockets import connect # type: ignore
|
||||
|
||||
# TODO: https://github.com/lnbits/lnbits-legend/issues/764
|
||||
# mypy https://github.com/aaugustin/websockets/issues/940
|
||||
|
||||
|
||||
@@ -81,9 +81,7 @@ class FakeWallet(Wallet):
|
||||
async def pay_invoice(self, bolt11: str, fee_limit_msat: int) -> PaymentResponse:
|
||||
invoice = decode(bolt11)
|
||||
# TODO: no data here?
|
||||
data: Dict = {
|
||||
"privkey": "missing"
|
||||
}
|
||||
data: Dict = {"privkey": "missing"}
|
||||
if (
|
||||
invoice.checking_id is not None
|
||||
and invoice.checking_id[6:] == data["privkey"][:6]
|
||||
|
||||
Reference in New Issue
Block a user