diff --git a/cashu/mint/ledger.py b/cashu/mint/ledger.py index e6b780b..97c621f 100644 --- a/cashu/mint/ledger.py +++ b/cashu/mint/ledger.py @@ -3,11 +3,13 @@ Implementation of https://gist.github.com/phyro/935badc682057f418842c72961cf096c """ import hashlib +import math from inspect import signature from signal import signal from typing import List, Set -import math + import cashu.core.b_dhke as b_dhke +import cashu.core.bolt11 as bolt11 from cashu.core.base import BlindedMessage, BlindedSignature, Invoice, Proof from cashu.core.db import Database from cashu.core.helpers import fee_reserve @@ -24,7 +26,6 @@ from cashu.mint.crud import ( store_promise, update_lightning_invoice, ) -import cashu.core.bolt11 as bolt11 class Ledger: diff --git a/cashu/wallet/wallet.py b/cashu/wallet/wallet.py index 9dcd764..2245837 100644 --- a/cashu/wallet/wallet.py +++ b/cashu/wallet/wallet.py @@ -11,13 +11,13 @@ import cashu.core.b_dhke as b_dhke from cashu.core.base import ( BlindedMessage, BlindedSignature, + CheckInternalRequest, CheckRequest, MeltRequest, MintRequest, P2SHScript, Proof, SplitRequest, - CheckInternalRequest, ) from cashu.core.db import Database from cashu.core.script import (