black formating
This commit is contained in:
parent
56b4b0cf43
commit
64502c355e
5 changed files with 18 additions and 19 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue