From 6599215934132802366adf89a1c2ef5f311d8af6 Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Wed, 5 Oct 2022 21:34:36 +0200 Subject: [PATCH] format --- cashu/mint/ledger.py | 5 +++-- cashu/wallet/wallet.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) 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 (