black formating

This commit is contained in:
dni
2022-07-25 12:03:06 +02:00
parent 9a17e4896b
commit a80fd5de7a
5 changed files with 18 additions and 19 deletions
+2 -1
View File
@@ -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
+1 -3
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]