From a54ca6e6567ebcf878ce707c8355b32eda7494a0 Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Sat, 8 Oct 2022 15:08:33 +0200 Subject: [PATCH] make format --- cashu/core/base.py | 1 + cashu/mint/ledger.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cashu/core/base.py b/cashu/core/base.py index 1cb946d..9a7b387 100644 --- a/cashu/core/base.py +++ b/cashu/core/base.py @@ -30,6 +30,7 @@ class KeyBase(BaseModel): from typing import Optional + from cashu.core.db import Connection, Database diff --git a/cashu/mint/ledger.py b/cashu/mint/ledger.py index c495947..4d321f8 100644 --- a/cashu/mint/ledger.py +++ b/cashu/mint/ledger.py @@ -8,6 +8,7 @@ from typing import List, Set import cashu.core.b_dhke as b_dhke import cashu.core.bolt11 as bolt11 from cashu.core.base import BlindedMessage, BlindedSignature, Invoice, Keyset, Proof +from cashu.core.crud import get_keyset, store_keyset from cashu.core.crypto import derive_keys, derive_keyset_id, derive_pubkeys from cashu.core.db import Database from cashu.core.helpers import fee_reserve @@ -16,7 +17,6 @@ from cashu.core.secp import PublicKey from cashu.core.settings import LIGHTNING, MAX_ORDER from cashu.core.split import amount_split from cashu.lightning import WALLET -from cashu.core.crud import get_keyset, store_keyset from cashu.mint.crud import ( get_lightning_invoice, get_proofs_used,