mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-24 12:04:21 +01:00
make format
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user