black formating

This commit is contained in:
dni 2022-07-20 11:33:37 +02:00
parent 9a17e4896b
commit a80fd5de7a
5 changed files with 18 additions and 19 deletions

View file

@ -9,6 +9,7 @@ import httpx
from loguru import logger
from websockets import connect # type: ignore
# TODO: https://github.com/lnbits/lnbits-legend/issues/764
# mypy https://github.com/aaugustin/websockets/issues/940

View file

@ -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]