make format

This commit is contained in:
callebtc
2022-12-24 15:17:09 +01:00
parent 1181b64615
commit 86e8635a16
3 changed files with 4 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
from sqlite3 import Row
from typing import Any, Dict, List, Union, TypedDict, Optional
from typing import Any, Dict, List, Optional, TypedDict, Union
from pydantic import BaseModel

View File

@@ -33,10 +33,10 @@ from cashu.core.settings import (
from cashu.tor.tor import TorProxy
from cashu.wallet import migrations
from cashu.wallet.crud import (
get_keyset,
get_lightning_invoices,
get_reserved_proofs,
get_unused_locks,
get_keyset,
)
from cashu.wallet.wallet import Wallet as Wallet

View File

@@ -23,9 +23,9 @@ from cashu.core.base import (
P2SHScript,
Proof,
SplitRequest,
WalletKeyset,
TokenJson,
TokenMintJson,
WalletKeyset,
)
from cashu.core.bolt11 import Invoice as InvoiceBolt11
from cashu.core.db import Database
@@ -58,6 +58,7 @@ class LedgerAPI:
keys: Dict[int, str]
keyset: str
tor: TorProxy
db: Database
def __init__(self, url):
self.url = url