mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-23 19:54:18 +01:00
make format
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
from sqlite3 import Row
|
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
|
from pydantic import BaseModel
|
||||||
|
|
||||||
|
|||||||
@@ -33,10 +33,10 @@ from cashu.core.settings import (
|
|||||||
from cashu.tor.tor import TorProxy
|
from cashu.tor.tor import TorProxy
|
||||||
from cashu.wallet import migrations
|
from cashu.wallet import migrations
|
||||||
from cashu.wallet.crud import (
|
from cashu.wallet.crud import (
|
||||||
|
get_keyset,
|
||||||
get_lightning_invoices,
|
get_lightning_invoices,
|
||||||
get_reserved_proofs,
|
get_reserved_proofs,
|
||||||
get_unused_locks,
|
get_unused_locks,
|
||||||
get_keyset,
|
|
||||||
)
|
)
|
||||||
from cashu.wallet.wallet import Wallet as Wallet
|
from cashu.wallet.wallet import Wallet as Wallet
|
||||||
|
|
||||||
|
|||||||
@@ -23,9 +23,9 @@ from cashu.core.base import (
|
|||||||
P2SHScript,
|
P2SHScript,
|
||||||
Proof,
|
Proof,
|
||||||
SplitRequest,
|
SplitRequest,
|
||||||
WalletKeyset,
|
|
||||||
TokenJson,
|
TokenJson,
|
||||||
TokenMintJson,
|
TokenMintJson,
|
||||||
|
WalletKeyset,
|
||||||
)
|
)
|
||||||
from cashu.core.bolt11 import Invoice as InvoiceBolt11
|
from cashu.core.bolt11 import Invoice as InvoiceBolt11
|
||||||
from cashu.core.db import Database
|
from cashu.core.db import Database
|
||||||
@@ -58,6 +58,7 @@ class LedgerAPI:
|
|||||||
keys: Dict[int, str]
|
keys: Dict[int, str]
|
||||||
keyset: str
|
keyset: str
|
||||||
tor: TorProxy
|
tor: TorProxy
|
||||||
|
db: Database
|
||||||
|
|
||||||
def __init__(self, url):
|
def __init__(self, url):
|
||||||
self.url = url
|
self.url = url
|
||||||
|
|||||||
Reference in New Issue
Block a user