From 13deeded6b4a8f5490a26701e0c8d4db2c62c573 Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Sat, 29 Oct 2022 20:51:45 +0200 Subject: [PATCH] make format --- cashu/tor/tor.py | 3 ++- cashu/wallet/cli.py | 2 +- cashu/wallet/wallet.py | 5 ++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cashu/tor/tor.py b/cashu/tor/tor.py index 9054fc1..cba2e02 100755 --- a/cashu/tor/tor.py +++ b/cashu/tor/tor.py @@ -3,9 +3,10 @@ import pathlib import platform import socket import subprocess -from loguru import logger import time +from loguru import logger + class TorProxy: def __init__(self): diff --git a/cashu/wallet/cli.py b/cashu/wallet/cli.py index d05639a..f00dd71 100755 --- a/cashu/wallet/cli.py +++ b/cashu/wallet/cli.py @@ -25,9 +25,9 @@ from cashu.core.settings import ( ENV_FILE, LIGHTNING, MINT_URL, - VERSION, SOCKS_HOST, SOCKS_PORT, + VERSION, ) from cashu.wallet import migrations from cashu.wallet.crud import ( diff --git a/cashu/wallet/wallet.py b/cashu/wallet/wallet.py index ae081b7..6b360f3 100644 --- a/cashu/wallet/wallet.py +++ b/cashu/wallet/wallet.py @@ -35,8 +35,9 @@ from cashu.core.script import ( step2_carol_sign_tx, ) from cashu.core.secp import PublicKey -from cashu.core.settings import DEBUG, VERSION, TOR, SOCKS_HOST, SOCKS_PORT +from cashu.core.settings import DEBUG, SOCKS_HOST, SOCKS_PORT, TOR, VERSION from cashu.core.split import amount_split +from cashu.tor.tor import TorProxy from cashu.wallet.crud import ( get_keyset, get_proofs, @@ -50,8 +51,6 @@ from cashu.wallet.crud import ( update_proof_reserved, ) -from cashu.tor.tor import TorProxy - class LedgerAPI: keys: Dict[int, str]